Skip to content
Sections
>> Trisquel >> Paketler >> ecne (12.0LTS) >> python >> python3-yamlfix
[  ecne  ] [  xolotl  ]
[ Kaynak: python-yamlfix  ]

Paket: python3-yamlfix (1.16.0-1)

Simple opionated yaml formatter that keeps your comments

yamlfix is a Python based YAML file formatter which will fix any known formatting issue within your YAML files automatically.

It can read configuration settings from pyproject.toml, from configuration files or environment variables while it is called from the CLI or by including as Python library.

Main feature are:

 * Add the header --- to your file.
 * Correct truthy strings: 'True' -> true, 'no' -> 'false'
 * Remove unnecessary apostrophes:
   title: 'Why we sleep' -> title: Why we sleep.
 * Correct comments
 * Ensure that there is exactly one newline at the end of each file, to
   comply with the POSIX standard.
 * Split long lines.
 * Respect Jinja2 syntax.
 * Convert short lists to flow-style list: [item, item]
 * Convert lists longer than line-width to block-style

This package provides the Python 3.x module.

python3-yamlfix ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-click
    Wrapper around optparse for command line utilities - Python 3.x
  • dep: python3-maison
    Read Python package configuration settings
  • dep: python3-ruyaml
    YAML 1.2 loader/dumper package for Python

python3-yamlfix indir

Tüm mevcut mimariler için indir
Mimari Paket Boyutu Kurulu Boyut Dosyalar
all 15,0 kB73 kB [dosya listesi]