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:
Luong Anh Tuan 2018-02-01 09:54:43 +07:00
parent 02aa8bb472
commit b310c3f402
1 changed files with 3 additions and 1 deletions

View File

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