Skip to content

Commit

Permalink
Use Ruff's extend-exclude (#11901)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
  • Loading branch information
danieleades and AA-Turner committed Apr 24, 2024
1 parent 5fc2d51 commit 6d6feb2
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
Expand Down

0 comments on commit 6d6feb2

Please sign in to comment.