diff options
author | Khairi Hafsham <jumanjisama@gmail.com> | 2017-01-16 18:26:54 +0800 |
---|---|---|
committer | Khairi Hafsham <jumanjisama@gmail.com> | 2017-01-16 18:26:54 +0800 |
commit | bae1d1de34067c2632ef754d8015f8f384b54683 (patch) | |
tree | df58165a9522b356bfaf39e69ddf38dd5f662776 | |
parent | d7d61542bf579a41dd33f2920f3214c62c49fd47 (diff) | |
download | pep8-bae1d1de34067c2632ef754d8015f8f384b54683.tar.gz |
modified pycodestyle.py
added function doc to blank_lines() for E306
-rwxr-xr-x | pycodestyle.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pycodestyle.py b/pycodestyle.py index 559048e..edeb494 100755 --- a/pycodestyle.py +++ b/pycodestyle.py @@ -264,6 +264,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 |