Use Ruff's `extend-exclude` (#11901)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
danieleades
2024-04-24 19:00:00 +01:00
committed by GitHub
parent 5fc2d515fd
commit 6d6feb240f

View File

@@ -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}`