Fix H238 violation and enable check for that rule
Change-Id: I04f3d96acfc0be12393cc6cf5f0d3f7006939532
This commit is contained in:
parent
7a4f2553d6
commit
55a91a6655
@ -67,7 +67,7 @@ _rewrites = None
|
|||||||
_rewrites_push = None
|
_rewrites_push = None
|
||||||
|
|
||||||
|
|
||||||
class colors:
|
class colors(object):
|
||||||
yellow = '\033[33m'
|
yellow = '\033[33m'
|
||||||
green = '\033[92m'
|
green = '\033[92m'
|
||||||
reset = '\033[0m'
|
reset = '\033[0m'
|
||||||
|
2
tox.ini
2
tox.ini
@ -27,6 +27,6 @@ commands = python setup.py build_sphinx
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E125,H202,H238,H405,H904
|
ignore = E125,H202,H405,H904
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user