Skip to content

Commit 6d6feb2

Browse files
Use Ruff's extend-exclude (#11901)
Co-authored-by: Adam Turner <[email protected]>
1 parent 5fc2d51 commit 6d6feb2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.ruff.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@ target-version = "py39" # Pin Ruff to Python 3.9
22
line-length = 95
33
output-format = "full"
44

5-
[lint]
6-
preview = true
7-
exclude = [
8-
".git",
9-
".tox",
10-
".venv",
5+
extend-exclude = [
116
"tests/roots/*",
127
"build/*",
138
"doc/_build/*",
149
"sphinx/search/*",
1510
"doc/usage/extensions/example*.py",
1611
]
12+
13+
[lint]
14+
preview = true
1715
ignore = [
1816
# flake8-annotations
1917
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in `{name}`

0 commit comments

Comments
 (0)