mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 06:11:21 +00:00
Remove pyproject.toml
from fixtures directory (#8726)
## Summary This exists to power a test, but it ends up affecting the behavior of all files in the directory. Namely, it means that these files _aren't_ excluded when you format or lint them directly, since in that case, Ruff will fall back to looking at the `pyproject.toml` in `crates/ruff_linter/resources/test/fixtures`, which _doesn't_ exclude these files, unlike our top-level `pyproject.toml`.
This commit is contained in:
parent
5fa961f670
commit
b6a7787318
3 changed files with 28 additions and 19 deletions
|
@ -1,3 +0,0 @@
|
|||
# fixtures
|
||||
|
||||
Fixture files used for snapshot testing.
|
|
@ -1,10 +0,0 @@
|
|||
[tool.ruff]
|
||||
line-length = 88
|
||||
extend-exclude = [
|
||||
"excluded_file.py",
|
||||
"migrations",
|
||||
"with_excluded_file/other_excluded_file.py",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
per-file-ignores = { "__init__.py" = ["F401"] }
|
Loading…
Add table
Add a link
Reference in a new issue