some of those errors should be fixable by a little sed script like most
of the whitespace warnings  and '<>'.

greatz Johannes

On 31.01.2013 12:17, Jeroen Demeyer wrote:
> $ pep8 -qq --statistics sage
> 869     E111 indentation is not a multiple of four
> 189     E121 continuation line indentation is not a multiple of four
> 28      E122 continuation line missing indentation or outdented
> 66      E123 closing bracket does not match indentation of opening
> bracket's line
> 33      E124 closing bracket does not match visual indentation
> 145     E125 continuation line does not distinguish itself from next
> logical line
> 281     E126 continuation line over-indented for hanging indent
> 774     E127 continuation line over-indented for visual indent
> 1134    E128 continuation line under-indented for visual indent
> 2942    E201 whitespace after '['
> 2629    E202 whitespace before ']'
> 1104    E203 whitespace before ':'
> 45      E211 whitespace before '('
> 586     E221 multiple spaces before operator
> 657     E222 multiple spaces after operator
> 8741    E225 missing whitespace around operator
> 23360   E231 missing whitespace after ','
> 5992    E251 no spaces around keyword / parameter equals
> 1261    E261 at least two spaces before inline comment
> 564     E262 inline comment should start with '# '
> 156     E271 multiple spaces after keyword
> 564     E272 multiple spaces before keyword
> 192     E301 expected 1 blank line, found 0
> 4050    E302 expected 2 blank lines, found 1
> 2200    E303 too many blank lines (3)
> 1       E304 blank lines found after function decorator
> 72      E401 multiple imports on one line
> 37135   E501 line too long (163 > 79 characters)
> 775     E502 the backslash is redundant between brackets
> 1078    E701 multiple statements on one line (colon)
> 163     E702 multiple statements on one line (semicolon)
> 158     E703 statement ends with a semicolon
> 338     E711 comparison to None should be 'if cond is None:'
> 150     E712 comparison to True should be 'if cond is True:' or 'if cond:'
> 11      E721 do not compare types, use 'isinstance()'
> 10811   W291 trailing whitespace
> 3       W292 no newline at end of file
> 38415   W293 blank line contains whitespace
> 440     W391 blank line at end of file
> 322     W601 .has_key() is deprecated, use 'in'
> 3822    W602 deprecated form of raising exception
> 33      W603 '<>' is deprecated, use '!='
> 8       W604 backticks are deprecated, use 'repr()'
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to