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: Id555b593cff19d7c741b4233182837def685317a
This commit is contained in:
parent
74bd6142be
commit
2ddb46e608
1
tox.ini
1
tox.ini
@ -43,7 +43,6 @@ commands =
|
||||
# E711: ignored because it is normal to use "column == None" in sqlalchemy
|
||||
|
||||
ignore = E12,E711
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*ironic/nova*,tools
|
||||
|
||||
[hacking]
|
||||
|
Loading…
x
Reference in New Issue
Block a user