yamlfixer
yamlfixer copied to clipboard
Wrong interpretation of the configuration file
1️⃣ Description
The program yamlfixer does not evaluate the .yamllint configuration file in the same way as yamllint.
📑 Steps to Reproduce
- Create a .yamllint configuration file and set the ignore option with a glob to ignore;
- Run yamlfixer against an ignored yaml file.
2️⃣ Expected behavior
The interpretation of the configuration file should be the same between yamlint and yamlfixer.
3️⃣ Scripts
mkdir mydir
echo "no_document_start: yes" > mydir/myfile.yaml
echo "ignore: [mydir/myfile.yaml]" > .yamllint
yamlfixer mydir/
ℹ️ Environment details
- OS: Ubuntu 22.04
- Python runtime: 3.10
- Yamlfixer version: 0.9.15
- Used shell: bash