Enable E721
The check now passes without any failure. Change-Id: I34e6ddd7988fa08129cb9439dfb3d256124124b1
This commit is contained in:
parent
ef9125c724
commit
b7ec3e5da7
4
tox.ini
4
tox.ini
@ -54,11 +54,9 @@ commands = sphinx-build -a -E -b html releasenotes/source releasenotes/build/htm
|
||||
# H803 skipped on purpose per list discussion.
|
||||
# H404 multi line docstring should start with a summary
|
||||
# H405 multi line docstring summary not separated with an empty line
|
||||
## TODO(ruhe) following checks should be fixed
|
||||
# E721 do not compare types, use 'isinstance()'
|
||||
# W503 line break before binary operator
|
||||
# W504 line break after binary operator
|
||||
show-source = True
|
||||
ignore = E721,H404,H405,H803,W503,W504
|
||||
ignore = H404,H405,H803,W503,W504
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user