Enable checks for E711, E712 and E713
* E711 comparison to None should be 'if cond is None:' * E712 comparison to True should be 'if cond is True:' or 'if cond:' * E713 test for membership should be 'not in' Change-Id: I1481209a85fa6db0343d0111e2b19d9fab4538a7
This commit is contained in:
2
tox.ini
2
tox.ini
@@ -72,7 +72,7 @@ commands = {posargs}
|
||||
# F841,H302,H305,H307,H405
|
||||
|
||||
|
||||
ignore = E251,E265,E711,E712,E713,F402,F841,H104,H302,H305,H307,H402,H405,H803,H904
|
||||
ignore = E251,E265,F402,F841,H104,H302,H305,H307,H402,H405,H803,H904
|
||||
builtins = _
|
||||
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user