mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-13 00:42:11 -05:00
Use Ruff's `extend-exclude` (#11901)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
1 parent
5fc2d515fd
commit
6d6feb240f
1 file changed
+4
-6
+4
-6
@@ -2,18 +2,16 @@ target-version = "py39" # Pin Ruff to Python 3.9
|
||||
line-length = 95
|
||||
output-format = "full"
|
||||
|
||||
[lint]
|
||||
preview = true
|
||||
exclude = [
|
||||
".git",
|
||||
".tox",
|
||||
".venv",
|
||||
extend-exclude = [
|
||||
"tests/roots/*",
|
||||
"build/*",
|
||||
"doc/_build/*",
|
||||
"sphinx/search/*",
|
||||
"doc/usage/extensions/example*.py",
|
||||
]
|
||||
|
||||
[lint]
|
||||
preview = true
|
||||
ignore = [
|
||||
# flake8-annotations
|
||||
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in `{name}`
|
||||
|
||||
Reference in new issue
Block a user