Skip to content

Instantly share code, notes, and snippets.

@clayg
Created June 23, 2012 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save clayg/2976655 to your computer and use it in GitHub Desktop.
Save clayg/2976655 to your computer and use it in GitHub Desktop.
(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