You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Add argument -e/--e PATTERN to exclude files or directories when walking through a file system tree and searching for yaml files. E.g. ``` yamllint -e s . ``` in this tree: ``` . ├── a.yaml ├── empty-dir ├── empty.yml ├── non-ascii │ └── utf-8 ├── no-yaml.json ├── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── s │ └── file.yaml ├── sub │ └── ok.yaml └── warn.yaml ``` ignores the directory `./s/`. And `yamllint -e warn.yaml -e non-ascii/utf-8 .` ignores both, `warn.yaml` and `non-ascii/utf-8`. |
8 years ago | |
---|---|---|
.. | ||
conf | 8 years ago | |
rules | 8 years ago | |
__init__.py | 8 years ago | |
__main__.py | 8 years ago | |
cli.py | 8 years ago | |
config.py | 9 years ago | |
linter.py | 8 years ago | |
parser.py | 9 years ago |