Activate pep8 check that _ is imported

Removed the specification in tox.ini that _ is a builtin so that
it will no longer assume that _ does not need to be imported.

The correct import is:

    from cinder.i18n import _

Activating this check did not flag any violations in cinder.

Change-Id: Ifc789514d2462c059eb9f003fac288e751331ded
This commit is contained in:
James Carey 2014-10-30 15:28:48 +00:00
parent 31d73fa9bc
commit 6ac8bb2a75
1 changed files with 0 additions and 1 deletions

View File

@ -73,7 +73,6 @@ commands = {posargs}
ignore = E251,E265,H302,H402,H405,H803,H904
builtins = _
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
max-complexity=30