mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
1.0 KiB
1.0 KiB
Breaking Changes
0.0.181
Files excluded by .gitignore are now ignored (#1234)
Ruff will now avoid checking files that are excluded by .ignore, .gitignore,
.git/info/exclude, and global gitignore files. This behavior is powered by the ignore
crate, and is applied in addition to Ruff's built-in exclude system.
To disable this behavior, set respect-gitignore = false in your pyproject.toml file.
Note that hidden files (i.e., files and directories prefixed with a .) are not ignored by
default.
0.0.178
Configuration files are now resolved hierarchically (#1190)
pyproject.toml files are now resolved hierarchically, such that for each Python file, we find
the first pyproject.toml file in its path, and use that to determine its lint settings.
See the README for more.