Skip to content

Commit

Permalink
Exclude common directories from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jondricek committed Oct 30, 2023
1 parent 18fd917 commit 85cdf83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
ignore=E203,E501,W503,D105
docstring-convention=numpy
exclude =
tests
venv
.venv
__init__.py
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ ignore = [
]
# On top of the defaults (E, F), enable pydocstyle (D) and isort (I).
select = ["E", "F", "D", "I"]
exclude = [
".venv",
"__pypackages__",
"build",
"dist",
"venv",
"tests",
]

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

0 comments on commit 85cdf83

Please sign in to comment.