Enable E721

The check now passes without any failure.

Change-Id: I34e6ddd7988fa08129cb9439dfb3d256124124b1
This commit is contained in:
Takashi Kajinami 2025-02-13 10:56:34 +09:00
parent ef9125c724
commit b7ec3e5da7

View File

@ -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