Enable more extensions pep8

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

Change-Id: I376f2b4e2991f7e29e743bcd1550b9945591a50b
This commit is contained in:
Luong Anh Tuan 2018-01-29 14:37:08 +07:00 committed by Tuan Luong-Anh
parent a1e60be0b8
commit ae85478479

View File

@ -64,9 +64,11 @@ commands = pifpaf -g AODH_TEST_STORAGE_URL run postgresql -- oslo_debug_helper {
[flake8]
ignore =
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
# [H106] Don't put vim configuration in source files.
# [H106] Do not 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
show-source = True
[hacking]