Update flake8 style enforcement

Added enforcement of H204 and H205 extensions to match
neutron repo, there were no few failures.

Change-Id: I9809f9f93e5c9dc4b654e2a50b35ed8cf3428987
This commit is contained in:
Brian Haley 2019-06-27 11:31:55 -04:00
parent 2da72f09f5
commit d4fa6dc0f6

View File

@ -63,8 +63,10 @@ commands = oslo_debug_helper -t neutron_tempest_plugin/ {posargs}
ignore = E125,E126,E128,E129,N530
# 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,*egg*,releasenotes
import-order-style = pep8