Skip to content

Commit 6f40e6b

Browse files
committed
Enforce docstring summary on 1st line
1 parent 8cd64c2 commit 6f40e6b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ requires = ["poetry-core"]
3838
[tool.ruff.lint]
3939
select = [
4040
"D",
41+
# summary lines have to be placed on the first physical line of the docstring
42+
"D212",
4143
# imperative mood for all docstrings
4244
"D401",
4345
]

0 commit comments

Comments
 (0)