Skip to content

Commit

Permalink
pyproject(ruff): Add pydocstyle rule selector w/ numpy convention
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Dec 3, 2023
1 parent 1f13303 commit b88d6a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ select = [
"TRY", # Trycertatops
"PERF", # Perflint
"RUF", # Ruff-specific rules
"D", # pydocstyle
]

[tool.ruff.isort]
Expand All @@ -154,6 +155,9 @@ known-first-party = [
]
combine-as-imports = true

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

[tool.ruff.per-file-ignores]
"*/__init__.py" = ["F401"]
"src/tmuxp/workspace/finders.py" = ["PTH"]
Expand Down

0 comments on commit b88d6a3

Please sign in to comment.