Skip to content

Commit 07f6192

Browse files
committed
Fix format-docs command
1 parent 881549e commit 07f6192

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ cmd = "ruff format"
227227

228228
[tool.poe.tasks.format-docs]
229229
help = "Format the documentation"
230-
cmd = "docstrfmt"
230+
cmd = "docstrfmt docs *.rst"
231231

232232
[tool.poe.tasks.lint]
233233
help = "Check the code for linting issues. Accepts ruff options."
@@ -285,7 +285,6 @@ extend-exclude = [
285285
"docs/api/**/*",
286286
"README_kr.rst",
287287
]
288-
files = ["docs", "*.rst"]
289288

290289
[tool.ruff]
291290
target-version = "py39"

0 commit comments

Comments
 (0)