Created
June 23, 2012 03:28
-
-
Save clayg/2976655 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(pep8)clayg@clayg-laptop:~/devenv/sandbox/pep8$ cat test.py | |
# passes | |
foo = long_function_name(var_one, var_two, | |
var_three, var_four) | |
# passes | |
def long_function_name( | |
var_one, var_two, | |
var_three, var_four): | |
pass | |
# passes | |
foo = long_function_name( | |
var_one, var_two, | |
var_three, var_four) | |
# fails | |
foo = long_function_name( | |
var_one, var_two, | |
var_three, var_four) | |
# fails | |
foo = long_function_name( | |
var_one, var_two, | |
var_three, var_four) | |
(pep8)clayg@clayg-laptop:~/devenv/sandbox/pep8$ pep8 test.py | |
test.py:19:9: E126 continuation line over-indented for hanging indent | |
test.py:20:9: E126 continuation line over-indented for hanging indent | |
test.py:24:8: E121 continuation line indentation is not a multiple of four | |
test.py:25:8: E121 continuation line indentation is not a multiple of four |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment