Browse Source

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: Ib68a69ffd64e6a8290339458179cf57c8fb1cc76
THOMAS J. COCOZZELLO 3 years ago
parent
commit
bed3d86b42
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      tox.ini

+ 0
- 1
tox.ini View File

@@ -39,5 +39,4 @@ commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoa
39 39
 # H302 import only modules
40 40
 ignore = H404,F401
41 41
 show-source = true
42
-builtins = _
43 42
 exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tools

Loading…
Cancel
Save