summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Cordasco <sigmavirus24@users.noreply.github.com>2017-01-24 16:36:41 -0600
committerGitHub <noreply@github.com>2017-01-24 16:36:41 -0600
commit10cefb702daf76e3916bdb924aaf0e593434f295 (patch)
treec6a725e9e872edf1f189777408fe00b071b46cb0
parente4312f75d8e589836e080aeeae28aae0a5c7b087 (diff)
parentbae1d1de34067c2632ef754d8015f8f384b54683 (diff)
downloadpep8-10cefb702daf76e3916bdb924aaf0e593434f295.tar.gz
Merge pull request #610 from khairihafsham/e306-doc
added function doc to blank_lines() for E306
-rwxr-xr-xpycodestyle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pycodestyle.py b/pycodestyle.py
index a5e376c..e0df43f 100755
--- a/pycodestyle.py
+++ b/pycodestyle.py
@@ -277,6 +277,7 @@ def blank_lines(logical_line, blank_lines, indent_level, line_number,
E303: def a():\n\n\n\n pass
E304: @decorator\n\ndef a():\n pass
E305: def a():\n pass\na()
+ E306: def a():\n def b():\n pass\n def c():\n pass
"""
if line_number < 3 and not previous_logical:
return # Don't expect blank lines before the first line