google-code-export / marinemap

Automatically exported from code.google.com/p/marinemap
Other
1 stars 2 forks source link

PEP8 compliance #499

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo pip install pep8
2. pep8 --statistics -qq --filename=*.py /usr/local/src/marinemap/lingcod/

Count    Error
-----    -----
832     E101 indentation contains mixed spaces and tabs
39      E111 indentation is not a multiple of four
195     E201 whitespace after '{'
42      E202 whitespace before ')'
8       E203 whitespace before ','
4       E221 multiple spaces before operator
1       E222 multiple spaces after operator
114     E225 missing whitespace around operator
627     E231 missing whitespace after ','
17      E251 no spaces around keyword / parameter equals
81      E261 at least two spaces before inline comment
4       E262 inline comment should start with '# '
24      E301 expected 1 blank line, found 0
630     E302 expected 2 blank lines, found 1
108     E303 too many blank lines (2)
3       E401 multiple imports on one line
2887    E501 line too long (80 characters)
10      E701 multiple statements on one line (colon)
4       E702 multiple statements on one line (semicolon)
7       W191 indentation contains tabs
852     W291 trailing whitespace
32      W292 no newline at end of file
1293    W293 blank line contains whitespace
60      W391 blank line at end of file
3       W601 .has_key() is deprecated, use 'in'
1       W602 deprecated form of raising exception
8       W603 '<>' is deprecated, use '!='

For a full verbose list of errors,
pep8 -r --show-source --filename=*.py /usr/local/src/marinemap/lingcod/

Original issue reported on code.google.com by perrygeo...@gmail.com on 12 May 2011 at 3:05