Bump hacking
Change-Id: Ib57ee5caca7b178b403edfeaf03acaa4f07a029a
This commit is contained in:
@@ -40,12 +40,3 @@ openstack.observabilityclient.v1 =
|
|||||||
metric_delete = observabilityclient.v1.cli:Delete
|
metric_delete = observabilityclient.v1.cli:Delete
|
||||||
metric_clean-tombstones = observabilityclient.v1.cli:CleanTombstones
|
metric_clean-tombstones = observabilityclient.v1.cli:CleanTombstones
|
||||||
metric_snapshot = observabilityclient.v1.cli:Snapshot
|
metric_snapshot = observabilityclient.v1.cli:Snapshot
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
|
||||||
show-source = True
|
|
||||||
builtins = _
|
|
||||||
exclude =
|
|
||||||
.venv,
|
|
||||||
.git,
|
|
||||||
dist
|
|
||||||
|
4
tox.ini
4
tox.ini
@@ -22,7 +22,7 @@ commands = stestr run --slowest {posargs} --test-path {env:OS_TEST_PATH}
|
|||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps = hacking<3.1.0,>=3.0
|
deps = hacking>=7.0.0,<7.1.0
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
@@ -62,7 +62,7 @@ show-source = True
|
|||||||
# W503 line break before binary operator
|
# W503 line break before binary operator
|
||||||
# W504 line break after binary operator
|
# W504 line break after binary operator
|
||||||
ignore = A002,A003,D100,D101,D102,D103,D104,D105,D106,D107,W503,W504
|
ignore = A002,A003,D100,D101,D102,D103,D104,D105,D106,D107,W503,W504
|
||||||
exclude=.venv,.git,.tox,dist,doc,*egg,build
|
exclude = .venv,.git,.tox,dist,doc,*egg,build,*lib/python*
|
||||||
# [H101] Include your name with TODOs as in # TODO(yourname).
|
# [H101] Include your name with TODOs as in # TODO(yourname).
|
||||||
# [H104] Empty files should not contain license or comments
|
# [H104] Empty files should not contain license or comments
|
||||||
# [H106] Do not put vim configuration in source files.
|
# [H106] Do not put vim configuration in source files.
|
||||||
|
Reference in New Issue
Block a user