Activate pep8 check that _ is imported
Remove the specification in tox.ini that _ is a builtin so that it will no longer assume that _ does not need to be imported. This helps ensure that the _ from i18n is used. Change-Id: Ib701f92ff9d98dfcc655184caebce27ac4ab7bab
This commit is contained in:
parent
b3dd4db50e
commit
e4e29c446f
2
tox.ini
2
tox.ini
@ -42,7 +42,7 @@ commands = python setup.py build_sphinx
|
||||
# H904 Wrap long lines in parentheses instead of a backslash
|
||||
ignore = E125,E126,E128,E129,E265,H301,H305,H307,H402,H404,H405,H904
|
||||
show-source = true
|
||||
builtins = _
|
||||
|
||||
# TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user