Excluding Files and Folders

Qlty is Git aware and always excludes .gitignore’d files. Additionally, we provide multiple ways to exlcude files from analysis.

Using exclude_patterns in qlty.toml

Files and path patterns can also be excluded in your project configuration (.qlty/qlty.toml) using the exclude_patterns key at the top level. For example:

1# ..
2
3exclude_patterns = ["some/file.py", "**/fixtures/**"]
4
5# ...

Files that are excluded like this are not processed by any static analysis.

See Also