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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ce597f292bb9b66d31841a168e64f2cc4574fb030b650bb4e5ba2df857a091f
|
|
| MD5 |
f487f7ac6f6ea830fc2a6d21d0e4cd12
|
|
| BLAKE2b-256 |
dd41274bc4568546219e10f56496dddb32abbe43cbb1124ea72039a1a5adb753
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3fdd242819730a8283b2bef117888369e8cb28221945527c527f241209ad8e
|
|
| MD5 |
d6d41594721f2b1741ca87cd36670c4f
|
|
| BLAKE2b-256 |
9888d0e826ed865bb8156f2d748cee2ac44d35abfed07472fdbfbbaa3a44519a
|