Skip to content

Instantly share code, notes, and snippets.

@adiroiban adiroiban/pycodestyle.txt
Last active Mar 17, 2018

Embed
What would you like to do?
Statistic for pycodestyle errors in Twisted
autopep8 -r -i --ignore E226,E24,W503,E3,E123,E128
-----------
1 E272 multiple spaces before keyword
2 E211 whitespace before '('
2 E743 ambiguous function definition 'l'
2 W191 indentation contains tabs
3 E101 indentation contains mixed spaces and tabs
3 E712 comparison to True should be 'if cond is True:' or 'if cond:'
3 W601 .has_key() is deprecated, use 'in'
5 E271 multiple spaces after keyword
5 E703 statement ends with a semicolon
6 E702 multiple statements on one line (semicolon)
7 E713 test for membership should be 'not in'
8 E111 indentation is not a multiple of four
12 W606 'async' and 'await' are reserved keywords starting with Python 3.7
13 E228 missing whitespace around modulo operator
14 E721 do not compare types, use 'isinstance()'
18 E115 expected an indented block (comment)
20 E125 continuation line with same indent as next logical line
21 E502 the backslash is redundant between brackets
25 W291 trailing whitespace
30 E131 continuation line unaligned for hanging indent
32 E227 missing whitespace around bitwise or shift operator
41 W293 blank line contains whitespace
47 W391 blank line at end of file
48 E129 visually indented line with same indent as next logical line
48 E303 too many blank lines (3)
49 E201 whitespace after '['
52 E202 whitespace before ']'
53 E711 comparison to None should be 'if cond is not None:'
57 E114 indentation is not a multiple of four (comment)
68 E222 multiple spaces after operator
69 E116 unexpected indentation (comment)
84 W605 invalid escape sequence '\('
93 E731 do not assign a lambda expression, use a def
94 E401 multiple imports on one line
104 E701 multiple statements on one line (colon)
105 E266 too many leading '#' for block comment
127 E741 ambiguous variable name 'l'
130 E262 inline comment should start with '# '
134 E265 block comment should start with '# '
135 E301 expected 1 blank line, found 0
185 E124 closing bracket does not match visual indentation
199 E225 missing whitespace around operator
204 E203 whitespace before ','
238 E122 continuation line missing indentation or outdented
270 E221 multiple spaces before operator
282 E402 module level import not at top of file
306 E305 expected 3 blank lines after class or function definition, found 1
323 E722 do not use bare 'except'
367 E231 missing whitespace after ','
408 E127 continuation line over-indented for visual indent
468 E251 unexpected spaces around keyword / parameter equals
697 E128 continuation line under-indented for visual indent
750 E261 at least two spaces before inline comment
931 E306 expected 1 blank line before a nested definition, found 0
1456 E302 expected 3 blank lines, found 1
2503 E501 line too long (81 > 79 characters)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.