Skip to content

Commit 3bcd28a

Browse files
committed
pyproject(ruff): Add pydocstyle rule selector w/ numpy convention
1 parent 83e9719 commit 3bcd28a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ select = [
146146
"TRY", # Trycertatops
147147
"PERF", # Perflint
148148
"RUF", # Ruff-specific rules
149+
"D", # pydocstyle
149150
]
150151

151152
[tool.ruff.isort]
@@ -154,6 +155,9 @@ known-first-party = [
154155
]
155156
combine-as-imports = true
156157

158+
[tool.ruff.pydocstyle]
159+
convention = "numpy"
160+
157161
[tool.ruff.per-file-ignores]
158162
"*/__init__.py" = ["F401"]
159163
"src/tmuxp/workspace/finders.py" = ["PTH"]

0 commit comments

Comments
 (0)