Skip to content

Commit 10cefb7

Browse files
authored
Merge pull request #610 from khairihafsham/e306-doc
added function doc to blank_lines() for E306
2 parents e4312f7 + bae1d1d commit 10cefb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pycodestyle.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def blank_lines(logical_line, blank_lines, indent_level, line_number,
277277
E303: def a():\n\n\n\n pass
278278
E304: @decorator\n\ndef a():\n pass
279279
E305: def a():\n pass\na()
280+
E306: def a():\n def b():\n pass\n def c():\n pass
280281
"""
281282
if line_number < 3 and not previous_logical:
282283
return # Don't expect blank lines before the first line

0 commit comments

Comments
 (0)