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.

Activating this check did not flag any violations.

Change-Id: Ia8c7efe5bb30294c349b504d569e6ad7c602f246
This commit is contained in:
Tom Cocozzello 2015-07-29 13:51:28 -05:00
parent c41574f0b4
commit d028d106cc

View File

@ -32,5 +32,4 @@ commands = oslo_debug_helper {posargs}
show-source = True show-source = True
ignore = E123,E125,F403,H102,H303 ignore = E123,E125,F403,H102,H303
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build