Skip to content

Instantly share code, notes, and snippets.

@ngokevin
Created September 26, 2012 20:39
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 ngokevin/3790450 to your computer and use it in GitHub Desktop.
Save ngokevin/3790450 to your computer and use it in GitHub Desktop.
159 E101 indentation contains mixed spaces and tabs
232 E111 indentation is not a multiple of four
3 E113 unexpected indentation
502 E121 continuation line indentation is not a multiple of four
72 E122 continuation line missing indentation or outdented
292 E123 closing bracket does not match indentation of opening bracket's line
141 E124 closing bracket does not match visual indentation
161 E125 continuation line does not distinguish itself from next logical line
468 E126 continuation line over-indented for hanging indent
735 E127 continuation line over-indented for visual indent
3501 E128 continuation line under-indented for visual indent
762 E201 whitespace after '('
759 E202 whitespace before ')'
888 E203 whitespace before ':'
19 E211 whitespace before '('
242 E221 multiple spaces before operator
74 E222 multiple spaces after operator
1 E223 tab before operator
2 E224 tab after operator
1706 E225 missing whitespace around operator
2702 E231 missing whitespace after ','
894 E251 no spaces around keyword / parameter equals
954 E261 at least two spaces before inline comment
58 E262 inline comment should start with '# '
7 E271 multiple spaces after keyword
22 E272 multiple spaces before keyword
357 E301 expected 1 blank line, found 0
5185 E302 expected 2 blank lines, found 1
368 E303 too many blank lines (2)
58 E401 multiple imports on one line
21151 E501 line too long (94 > 79 characters)
298 E502 the backslash is redundant between brackets
438 E701 multiple statements on one line (colon)
37 E702 multiple statements on one line (semicolon)
103 E711 comparison to None should be 'if cond is not None:'
61 E712 comparison to False should be 'if cond is False:' or 'if not cond:'
8 E721 do not compare types, use 'isinstance()'
2 E901 IndentationError: unindent does not match any outer indentation level
7482 W191 indentation contains tabs
1940 W291 trailing whitespace
57 W292 no newline at end of file
3185 W293 blank line contains whitespace
380 W391 blank line at end of file
73 W601 .has_key() is deprecated, use 'in'
88 W602 deprecated form of raising exception
2 W603 '<>' is deprecated, use '!='
15 W604 backticks are deprecated, use 'repr()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment