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: I04b06851e13dd34c63040b648dff576f68a7abec
This commit is contained in:
Luong Anh Tuan 2018-01-29 15:07:32 +07:00 committed by Tuan Luong-Anh
parent 80b4f18e1e
commit 5703d0c775
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,9 @@ commands = bindep test
ignore = F821,H201,H302,H405
# H106: Dont put vim configuration in source files
# H203: Use assertIs(Not)None to check for None
enable-extensions=H106,H203
# H204: Use assert(Not)Equal to check for equality.
# H205: Use assert(Greater|Less)(Equal) for comparison.
enable-extensions=H106,H203,H204,H205
max-complexity = 50
max-line-length = 120
builtins = _