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`. |
9 years ago | |
|---|---|---|
| .. | ||
| conf | 9 years ago | |
| rules | 9 years ago | |
| __init__.py | 9 years ago | |
| __main__.py | 9 years ago | |
| cli.py | 9 years ago | |
| config.py | 10 years ago | |
| linter.py | 9 years ago | |
| parser.py | 10 years ago | |