Skip to main content

CLI tool to check and auto-fix YAML files recursively.

Project description

superyml

superyml is a small CLI tool that scans YAML files from the current directory (or a provided path), validates them, and rewrites them with consistent formatting.

Install

cd superyml
pip install -e .

Usage

# scan from current directory and auto-fix files
superyml

# scan another directory
superyml /path/to/repo

# check only (no writes)
superyml --check

# show each processed file
superyml --verbose

Exit codes

  • 0: all scanned files are valid YAML (and fixed if not in check mode)
  • 1: at least one YAML file has a parse error

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

superyml-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superyml-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file superyml-0.1.0.tar.gz.

File metadata

  • Download URL: superyml-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for superyml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ce597f292bb9b66d31841a168e64f2cc4574fb030b650bb4e5ba2df857a091f
MD5 f487f7ac6f6ea830fc2a6d21d0e4cd12
BLAKE2b-256 dd41274bc4568546219e10f56496dddb32abbe43cbb1124ea72039a1a5adb753

See more details on using hashes here.

File details

Details for the file superyml-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: superyml-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for superyml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce3fdd242819730a8283b2bef117888369e8cb28221945527c527f241209ad8e
MD5 d6d41594721f2b1741ca87cd36670c4f
BLAKE2b-256 9888d0e826ed865bb8156f2d748cee2ac44d35abfed07472fdbfbbaa3a44519a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page