Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Aug 6, 2024
1 parent e9ce1a2 commit 11ee806
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ addopts = "-q -ra --ff"
testpaths = ["tests"]

[tool.ruff]
src = ["src"]

[tool.ruff.lint]
select = [
"E",
"F", # flake8
Expand All @@ -58,17 +61,16 @@ select = [
extend-ignore = [
"D212", # multi-line-summary-first-line
]
src = ["src"]
unfixable = [
"F841", # Removes unused variables
]

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

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"setup.py" = ["D"]
"tests/*.py" = ["B", "D"]
".ci/*.py" = ["D"]
"bench/*.py" = ["D"]
"docs/*.py" = ["D"]

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

0 comments on commit 11ee806

Please sign in to comment.