Skip to content

Commit

Permalink
Flake8: remove commented out ignored rules
Browse files Browse the repository at this point in the history
  • Loading branch information
clbarnes committed Nov 1, 2019
1 parent 5c446e5 commit 5fdc711
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,72 +12,29 @@ exclude =
sphinx-doc/source/conf.py,
django/applications/catmaid/migrations/*
ignore =
#E101, #indentation contains mixed spaces and tabs
#E111, #indentation is not a multiple of four
#E112, #expected an indented block
#E114, #indentation is not a multiple of four (comment)
#E116, #unexpected indentation (comment)
#E117, #over-indented
#E121, #continuation line under-indented for hanging indent
#E122, #continuation line missing indentation or outdented
#E123, #closing bracket does not match indentation of opening bracket's line
#E124, #closing bracket does not match visual indentation
#E125, #continuation line with same indent as next logical line
E126, #continuation line over-indented for hanging indent
E127, #continuation line over-indented for visual indent
E128, #continuation line under-indented for visual indent
#E131, #continuation line unaligned for hanging indent
E201, #whitespace after '{'
E202, #whitespace before '}'
#E203, #whitespace before ','
#E211, #whitespace before '('
#E221, #multiple spaces before operator
#E222, #multiple spaces after operator
E225, #missing whitespace around operator
E226, #missing whitespace around arithmetic operator
E231, #missing whitespace after ','
E241, #multiple spaces after ','
E251, #unexpected spaces around keyword / parameter equals
E252, #missing whitespace around parameter equals
E261, #at least two spaces before inline comment
#E262, #inline comment should start with '# '
#E265, #block comment should start with '# '
#E266, #too many leading '#' for block comment
#E271, #multiple spaces after keyword
#E272, #multiple spaces before keyword
#E301, #expected 1 blank line, found 0
E302, #expected 2 blank lines, found 1
E303, #too many blank lines (2)
E305, #expected 2 blank lines after class or function definition, found 0
#E306, #expected 1 blank line before a nested definition, found 0
#E401, #multiple imports on one line
E402, #module level import not at top of file
E501, #line too long (135 > 120 characters)
E502, #the backslash is redundant between brackets
#E702, #multiple statements on one line (semicolon)
#E703, #statement ends with a semicolon
#E704, #multiple statements on one line (def)
#E711, #comparison to None should be 'if cond is None:'
#E713, #test for membership should be 'not in'
#E714, #test for object identity should be 'is not'
E722, #do not use bare 'except'
E731, #do not assign a lambda expression, use a def
#E741, #ambiguous variable name 'l'
#E999, #SyntaxError: invalid syntax
F401, #'typing.Dict' imported but unused
F403, #'from catmaid.models import *' used; unable to detect undefined names
F405, #'User' may be undefined, or defined from star imports: catmaid.fields, catmaid.models
#F632, #use ==/!= to compare str, bytes, and int literals
#F633, #use of >> is invalid with print function
#F811, #redefinition of unused 'Permission' from line 18
#F821, #undefined name 'e'
F841, #local variable 'ClientDatastore' is assigned to but never used
#W191, #indentation contains tabs
#W291, #trailing whitespace
#W293, #blank line contains whitespace
#W391, #blank line at end of file
W503, #line break before binary operator
W504, #line break after binary operator
#W601, #.has_key() is deprecated, use 'in'
#W602, # deprecated form of raising exception
#W605 # invalid escape sequence '\w'

0 comments on commit 5fdc711

Please sign in to comment.