Skip to content

Commit fba07b8

Browse files
committed
ruff: Enable pydocstyle w/ numpy convention
1 parent ac19b4b commit fba07b8

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
@@ -128,6 +128,7 @@ select = [
128128
"TRY", # Trycertatops
129129
"PERF", # Perflint
130130
"RUF", # Ruff-specific rules
131+
"D", # pydocstyle
131132
]
132133

133134
[tool.ruff.isort]
@@ -136,6 +137,9 @@ known-first-party = [
136137
]
137138
combine-as-imports = true
138139

140+
[tool.ruff.pydocstyle]
141+
convention = "numpy"
142+
139143
[tool.ruff.per-file-ignores]
140144
"*/__init__.py" = ["F401"]
141145

0 commit comments

Comments
 (0)