Skip to content

Commit 15d6fbd

Browse files
committed
Exclude non-module directories from linting
1 parent 10686a0 commit 15d6fbd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,7 @@ priority = "primary"
8383
[tool.ruff]
8484
lint.extend-select = ["C901", "T201"]
8585
lint.mccabe.max-complexity = 11
86-
87-
[tool.ruff.lint.per-file-ignores]
88-
"tests/*" = ["T201"]
89-
"examples/*" = ["T201"]
90-
"notebooks/*" = ["T201"]
86+
extend-exclude = ["tests", "examples", "notebooks"]
9187

9288
[tool.pytest.ini_options]
9389
addopts = "-p no:warnings --no-cov -n 0"

0 commit comments

Comments
 (0)