Merge "Enable H304 check"
This commit is contained in:
commit
1ac9192e96
@ -26,7 +26,7 @@ from __future__ import print_function
|
||||
import os
|
||||
import sys
|
||||
|
||||
import install_venv_common as install_venv
|
||||
from tools import install_venv_common as install_venv
|
||||
|
||||
|
||||
def print_help():
|
||||
|
3
tox.ini
3
tox.ini
@ -35,9 +35,8 @@ commands = {posargs}
|
||||
# E712 comparison to True should be 'if cond is True:' or 'if cond:'
|
||||
# F821 undefined name 'name'
|
||||
# H302 import only modules
|
||||
# H304 no relative imports
|
||||
# H402 one line docstring needs punctuation.
|
||||
# H404 multi line docstring should start with a summary
|
||||
ignore = E711,E712,F821,H302,H304,H402,H404
|
||||
ignore = E711,E712,F821,H302,H402,H404
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,etc,*glance/locale*,*openstack/common*,*lib/python*,*egg,build
|
||||
|
Loading…
Reference in New Issue
Block a user