Skip to content

Commit bae1d1d

Browse files
committed
modified pycodestyle.py
added function doc to blank_lines() for E306
1 parent d7d6154 commit bae1d1d

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
@@ -264,6 +264,7 @@ def blank_lines(logical_line, blank_lines, indent_level, line_number,
264264
E303: def a():\n\n\n\n pass
265265
E304: @decorator\n\ndef a():\n pass
266266
E305: def a():\n pass\na()
267+
E306: def a():\n def b():\n pass\n def c():\n pass
267268
"""
268269
if line_number < 3 and not previous_logical:
269270
return # Don't expect blank lines before the first line

0 commit comments

Comments
 (0)