|
@@ -3,21 +3,11 @@ ignore =
|
|
E265, # block comment should start with '# '
|
|
E265, # block comment should start with '# '
|
|
E266, # too many leading '#' for block comment
|
|
E266, # too many leading '#' for block comment
|
|
E402, # module level import not at top of file
|
|
E402, # module level import not at top of file
|
|
- E711, # comparison to None should be 'if cond is None:'
|
|
|
|
- E712, # comparison to False should be 'if cond is False:' or 'if not cond:'
|
|
|
|
- E713, # test for membership should be 'not in'
|
|
|
|
E722, # do not use bare 'except'
|
|
E722, # do not use bare 'except'
|
|
- E731, # do not assign a lambda expression, use a def
|
|
|
|
E741, # ambiguous variable name 'l'
|
|
E741, # ambiguous variable name 'l'
|
|
F401, # 'grass.script.core.gisenv' imported but unused
|
|
F401, # 'grass.script.core.gisenv' imported but unused
|
|
- F632, # use ==/!= to compare str, bytes, and int literals
|
|
|
|
F821, # undefined name '_'
|
|
F821, # undefined name '_'
|
|
F841, # local variable 'center' is assigned to but never used
|
|
F841, # local variable 'center' is assigned to but never used
|
|
- E111, # indentation is not a multiple of four
|
|
|
|
- E711, # comparison to None should be 'if cond is None:'
|
|
|
|
- F632, # use ==/!= to compare str, bytes, and int literals
|
|
|
|
- W391, # blank line at end of file
|
|
|
|
- E111, # indentation is not a multiple of four
|
|
|
|
E121, # continuation line under-indented for hanging indent
|
|
E121, # continuation line under-indented for hanging indent
|
|
E125, # continuation line with same indent as next logical line
|
|
E125, # continuation line with same indent as next logical line
|
|
E127, # continuation line over-indented for visual indent
|
|
E127, # continuation line over-indented for visual indent
|
|
@@ -37,12 +27,8 @@ ignore =
|
|
E305, # expected 2 blank lines after class or function definition, found 1
|
|
E305, # expected 2 blank lines after class or function definition, found 1
|
|
E501, # line too long (161 > 150 characters)
|
|
E501, # line too long (161 > 150 characters)
|
|
W293, # blank line contains whitespace
|
|
W293, # blank line contains whitespace
|
|
- W391, # blank line at end of file
|
|
|
|
W503, # line break before binary operator
|
|
W503, # line break before binary operator
|
|
W504, # line break after binary operator
|
|
W504, # line break after binary operator
|
|
- E121, # continuation line under-indented for hanging indent
|
|
|
|
- E221, # multiple spaces before operator
|
|
|
|
- E251, # unexpected spaces around keyword / parameter equals
|
|
|
|
|
|
|
|
max-line-length = 88
|
|
max-line-length = 88
|
|
exclude =
|
|
exclude =
|