Source: python-yamlfix
Section: python
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Carsten Schoenert <c.schoenert@t-online.de>
Build-Depends:
 debhelper-compat (= 14),
 dh-sequence-python3,
 dh-sequence-single-binary,
 help2man,
 pybuild-plugin-pyproject,
 python3-all,
 python3-pdm-backend,
Build-Depends-Indep:
# mkdocs  <!nodoc>,
# mkdocstrings <!nodoc>,
# mkdocs-material <!nocheck>,
# yamlfix's own runtime dependencies: needed unconditionally, as the manpage is
# generated by running the installed program under help2man.
 python3-click (>= 8.1.3~),
 python3-maison (>= 2.0.0~),
 python3-pydantic (>= 2~),
 python3-ruyaml (>= 0.91.0~),
 python3-pytest <!nocheck>,
 python3-pytest-cov <!nocheck>,
 python3-pytest-xdist <!nocheck>,
# python3-pymdownx <!nodoc>,
Standards-Version: 4.7.4
Testsuite: autopkgtest-pkg-pybuild
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-yamlfix
Vcs-Git: https://salsa.debian.org/python-team/packages/python-yamlfix.git
Homepage: https://github.com/lyz-code/yamlfix

Package: python3-yamlfix
Architecture: all
Depends:
 ${misc:Depends},
 ${python3:Depends}
Description: Simple opinionated 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 features 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.
