Skip to content

Commit ba331c0

Browse files
authored
Use extend-exclude instead of exclude in ruff config (#2545)
The ruff docs recommend using extend-exclude for custom paths.
1 parent 003a2df commit ba331c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ignore_missing_imports = true
9898
[tool.ruff]
9999
target-version = "py39"
100100

101-
exclude = ["tests/testdata/"]
101+
extend-exclude = ["tests/testdata/"]
102102

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

0 commit comments

Comments
 (0)