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: Iac73937b60a6f8e7520123fbf59e748d296d4c7d
This commit is contained in:
THOMAS J. COCOZZELLO 2015-09-03 15:41:31 -05:00
parent bf4a60a9e3
commit d8a8f9b732

View File

@ -32,5 +32,4 @@ commands = python setup.py build_sphinx
[flake8] [flake8]
ignore = E125,H202,H302,H803 ignore = E125,H202,H302,H803
builtins = _
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,conf.py exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,conf.py