Enable hacking-extensions H204, H205
This patch enable extensions: - H204: Use assert(Not)Equal to check for equality. - H205: Use assert(Greater|Less)(Equal) for comparison. Change-Id: I55240cc648385554dd67dc62d6749cef6c59dd70
This commit is contained in:
parent
02aa8bb472
commit
b310c3f402
4
tox.ini
4
tox.ini
|
@ -54,7 +54,9 @@ commands = sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/bu
|
|||
ignore = E126,H404,H405,N530
|
||||
# H904: Delay string interpolations at logging calls
|
||||
# H203: Use assertIs(Not)None to check for None
|
||||
enable-extensions=H904,H203
|
||||
# H204: Use assert(Not)Equal to check for equality
|
||||
# H205: Use assert(Greater|Less)(Equal) for comparison
|
||||
enable-extensions=H904,H203,H204,H205
|
||||
show-source = true
|
||||
exclude = ./.*,dist,doc,build,tools
|
||||
|
||||
|
|
Loading…
Reference in New Issue