From e4e29c446f230f1a019bb6698c2b98aaf8d2d4f4 Mon Sep 17 00:00:00 2001 From: Gal Sagie Date: Thu, 17 Sep 2015 08:09:34 +0300 Subject: [PATCH] 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. Change-Id: Ib701f92ff9d98dfcc655184caebce27ac4ab7bab --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 94dfe49f..d24f0263 100644 --- a/tox.ini +++ b/tox.ini @@ -42,7 +42,7 @@ commands = python setup.py build_sphinx # H904 Wrap long lines in parentheses instead of a backslash ignore = E125,E126,E128,E129,E265,H301,H305,H307,H402,H404,H405,H904 show-source = true -builtins = _ + # TODO(dougw) neutron/tests/unit/vmware exclusion is a temporary services split hack exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,.ropeproject,rally-scenarios,neutron/tests/unit/vmware*