โ About
yamlfixer automates the fixing of problems reported by yamllint by parsing its output.
๐ผ๏ธ Screenshot
Here'a screenshot of yamlfixer launched on yaml-test-suite :
๐ Installation
The easiest way to install yamlfixer
is from
pypi, as described
below.
๐ง Linux install
python3 -m pip install yamlfixer-opt-nc
๐ช Windows install
python -m pip install yamlfixer-opt-nc
pipx
setup
For an optimal experience we recommand using pipx
.
To install :
pipx install yamlfixer-opt-nc
pipx list
To upgrade :
pipx upgrade yamlfixer-opt-nc
To uninstall :
pipx uninstall yamlfixer-opt-nc
๐ Usage
This software automatically fixes some errors and warnings reported by
yamllint
.
usage: yamlfixer [-h] [-v] [-b] [-B BACKUPSUFFIX] [-d] [-D DIFF_FILE] [-e EXTENSIONS] [-f]
[-F] [-l] [-N] [-n] [-r LEVEL] [-j | -p | -s] [-t TABSIZE]
[-c CONFIG_FILE | -C CONFIG_DATA]
[FILE_or_DIR [FILE_or_DIR ...]]
Fix formatting problems in YAML documents. If no file is specified, then reads
โฆ