Ignore files¶
Sqruff ignores files and folders specified in a .sqruffignore file placed in the root of where the command is run.
For example, the following config will ignore .hql files and files in any directory named temp:
pyproject.toml¶
If you use pyproject.toml for Sqruff configuration, you can also ignore files
and directories using ignore_paths in [tool.sqlfluff.core].
The patterns in ignore_paths use the same matching rules as .sqruffignore.