Skip to content

Commit 2c3c0e4

Browse files
committed
Enforce summary in first line with pydocstyle
1 parent fc8723d commit 2c3c0e4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ convention = google
6060
# D105: Missing docstring in magic method
6161
# D107: Missing docstring in __init__
6262
# D202: No blank lines allowed after function docstring
63-
# D212: Multi-line docstring summary should start at the first line
64-
add_ignore = D100,D101,D102,D103,D104,D105,D107,D202,D212
63+
add_ignore = D100,D101,D102,D103,D104,D105,D107,D202
6564

6665
[tool:pytest]
6766
# markers = slow

src/lazydocs/generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ def generate_docs(
807807
remove_package_prefix=remove_package_prefix,
808808
)
809809

810-
pydocstyle_cmd = "pydocstyle --convention=google --add-ignore=D100,D101,D102,D103,D104,D105,D107,D202,D212"
810+
pydocstyle_cmd = "pydocstyle --convention=google --add-ignore=D100,D101,D102,D103,D104,D105,D107,D202"
811811

812812
for path in paths:
813813
if os.path.isdir(path):

0 commit comments

Comments
 (0)