Enable more extensions in pep8

This patch enable extensions:
-[H204] Use assert(Not)Equal to check for equality.
-[H205] Use assert(Greater|Less)(Equal) for comparison.

Change-Id: I9ad51e006561251030b5a6759c930b87ff94a861
This commit is contained in:
Luong Anh Tuan 2018-01-29 15:35:38 +07:00 committed by Tuan Luong-Anh
parent 25f4406c72
commit 0d3ffa6ebc
1 changed files with 3 additions and 1 deletions

View File

@ -143,8 +143,10 @@ commands = sphinx-build -W -b linkcheck doc/source doc/build/linkcheck
ignore = E125,E126,E128,E129,E265,H404,H405,N530,N534,N536
# H106: Don't put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
# H204: Use assert(Not)Equal to check for equality
# H205: Use assert(Greater|Less)(Equal) for comparison
# H904: Delay string interpolations at logging calls
enable-extensions=H106,H203,H904
enable-extensions=H106,H203,H204,H205,H904
show-source = true
exclude = ./.*,build,dist,doc
import-order-style = pep8