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: I8849dc5fb187c2278e99fe8c41322b5f2c139879
This commit is contained in:
Tom Cocozzello 2015-07-29 11:48:57 -05:00
parent e64d7b35f4
commit b61e55a4cd

View File

@ -33,5 +33,4 @@ commands = {posargs}
[flake8] [flake8]
show-source = True show-source = True
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