Package: pep8 Version: 1.4.6-1.1 Severity: normal The ‘pep8(1)’ tool recently started reporting error E126 for code which conforms with PEP 8::
$ pep8 -
frobnicate_spam(
"foo", "bar", "baz")
stdin:2:9: E126 continuation line over-indented for hanging indent
PEP 8 explicitly says:
When using a hanging indent the following considerations should be
applied; there should be no arguments on the first line and further
indentation should be used to clearly distinguish itself as a
continuation line.
<URL:http://legacy.python.org/dev/peps/pep-0008/#indentation>
The ‘pep8(1)’ tool should allow 4 or 8-column indentation for any
continuation lines, as shown in the PEP 8 examples.
Upstream issue <URL:https://github.com/jcrocholl/pep8/issues/228> discusses
similar problems, but I believe version 1.5 introduced this behaviour in
response to that issue. Either that issue is not resolved correctly, or a
new issue needs to be reported for this bug.
--
\ “Are you pondering what I'm pondering?” “I think so, Brain, but |
`\ wouldn't his movies be more suitable for children if he was |
_o__) named Jean-Claude van Darn?” —_Pinky and The Brain_ |
Ben Finney <[email protected]>
signature.asc
Description: Digital signature

