Skip to content

Commit 1ac9192

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Enable H304 check"
2 parents a582b55 + 5843e07 commit 1ac9192

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tools/install_venv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import os
2727
import sys
2828

29-
import install_venv_common as install_venv
29+
from tools import install_venv_common as install_venv
3030

3131

3232
def print_help():

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ commands = {posargs}
3535
# E712 comparison to True should be 'if cond is True:' or 'if cond:'
3636
# F821 undefined name 'name'
3737
# H302 import only modules
38-
# H304 no relative imports
3938
# H402 one line docstring needs punctuation.
4039
# H404 multi line docstring should start with a summary
41-
ignore = E711,E712,F821,H302,H304,H402,H404
40+
ignore = E711,E712,F821,H302,H402,H404
4241
builtins = _
4342
exclude = .venv,.git,.tox,dist,doc,etc,*glance/locale*,*openstack/common*,*lib/python*,*egg,build

0 commit comments

Comments
 (0)