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:
parent
31d73fa9bc
commit
6ac8bb2a75
1
tox.ini
1
tox.ini
|
@ -73,7 +73,6 @@ commands = {posargs}
|
||||||
|
|
||||||
|
|
||||||
ignore = E251,E265,H302,H402,H405,H803,H904
|
ignore = E251,E265,H302,H402,H405,H803,H904
|
||||||
builtins = _
|
|
||||||
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
|
exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
|
||||||
max-complexity=30
|
max-complexity=30
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue