Skip to content

Commit 85cdf83

Browse files
committed
Exclude common directories from linting
1 parent 18fd917 commit 85cdf83

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.flake8

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
ignore=E203,E501,W503,D105
88
docstring-convention=numpy
99
exclude =
10+
tests
1011
venv
1112
.venv
1213
__init__.py

pyproject.toml

+8
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ ignore = [
1313
]
1414
# On top of the defaults (E, F), enable pydocstyle (D) and isort (I).
1515
select = ["E", "F", "D", "I"]
16+
exclude = [
17+
".venv",
18+
"__pypackages__",
19+
"build",
20+
"dist",
21+
"venv",
22+
"tests",
23+
]
1624

1725
[tool.ruff.pydocstyle]
1826
convention = "numpy"

0 commit comments

Comments
 (0)