mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 02:38:25 +00:00
Add .git-rewrite folder to default ignored folder paths (#4261)
This commit is contained in:
parent
e66fdb83d0
commit
5ac2c7d293
4 changed files with 5 additions and 2 deletions
|
@ -25,6 +25,7 @@ exclude = [
|
|||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".git-rewrite",
|
||||
".hg",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
|
@ -303,7 +304,7 @@ extend = "../pyproject.toml"
|
|||
line-length = 100
|
||||
```
|
||||
|
||||
All of the above rules apply equivalently to `ruff.toml` and `.ruff.toml` files. If Ruff detects
|
||||
All of the above rules apply equivalently to `ruff.toml` and `.ruff.toml` files. If Ruff detects
|
||||
multiple configuration files in the same directory, the `.ruff.toml` file will take precedence over
|
||||
the `ruff.toml` file, and the `ruff.toml` file will take precedence over the `pyproject.toml` file.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue