Skip to content

Commit

Permalink
Use extend-exclude instead of exclude in ruff config (pylint-dev#2545)
Browse files Browse the repository at this point in the history
The ruff docs recommend using extend-exclude for custom paths.
  • Loading branch information
correctmost authored Sep 7, 2024
1 parent 003a2df commit ba331c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ignore_missing_imports = true
[tool.ruff]
target-version = "py39"

exclude = ["tests/testdata/"]
extend-exclude = ["tests/testdata/"]

# ruff is less lenient than pylint and does not make any exceptions
# (for docstrings, strings and comments in particular).
Expand Down

0 comments on commit ba331c0

Please sign in to comment.