Re-enable some flake8 checks.
This commit is contained in:
parent
33a2181e31
commit
503fc9f56b
13
.flake8
13
.flake8
@ -1,19 +1,10 @@
|
||||
# vim: ft=dosini fileencoding=utf-8:
|
||||
|
||||
[flake8]
|
||||
# E241: Multiple spaces after ,
|
||||
# E265: Block comment should start with '#'
|
||||
# checked by pylint:
|
||||
# F401: Unused import
|
||||
# E501: Line too long
|
||||
# F821: undefined name
|
||||
# F841: unused variable
|
||||
# E222: Multiple spaces after operator
|
||||
# F811: Redifiniton
|
||||
# W292: No newline at end of file
|
||||
# E701: multiple statements on one line
|
||||
# E702: multiple statements on one line
|
||||
# E225: missing whitespace around operator
|
||||
ignore=E241,E265,F401,E501,F821,F841,E222,F811,W292,E701,E702,E225
|
||||
# F401: Unused import
|
||||
ignore=E265,E501,F841,F401
|
||||
max_complexity = 12
|
||||
exclude = ez_setup.py
|
||||
|
@ -331,8 +331,9 @@ class IsEnumTests(unittest.TestCase):
|
||||
|
||||
def test_class(self):
|
||||
"""Test is_enum with a non-enum class."""
|
||||
# pylint: disable=multiple-statements,missing-docstring
|
||||
class Test: pass
|
||||
class Test:
|
||||
"""Test class for is_enum"""
|
||||
pass
|
||||
self.assertFalse(utils.is_enum(Test))
|
||||
|
||||
def test_object(self):
|
||||
|
Loading…
Reference in New Issue
Block a user