Skip to content

Commit 52034d2

Browse files
committed
PyCQA#129 - pep8.... silly me.
1 parent 8accf21 commit 52034d2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/pydocstyle/checker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,8 @@ def _check_section_underline(cls, section_name, context, indentation):
452452
"""D4{07,08,09,10}, D215: Section underline checks.
453453
454454
Check for correct formatting for docstring sections. Checks that:
455-
* The line that follows the section name contains dashes (D40{7,8}).
455+
* The line that follows the section name contains
456+
dashes (D40{7,8}).
456457
* The amount of dashes is equal to the length of the section
457458
name (D409).
458459
* The line that follows the section header (with or without dashes)

src/tests/test_cases/sections.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def no_blank_line_after_section():
7878
A whole lot of values.
7979
"""
8080

81+
8182
@expect(_D213)
8283
@expect("D411: Missing blank line before section ('Returns')")
8384
def no_blank_line_before_section():

0 commit comments

Comments
 (0)