mirror of
https://opendev.org/openstack/keystone.git
synced 2026-01-11 20:07:31 +00:00
Merge "Use native hook of bashate"
This commit is contained in:
commit
a71b056a5b
3 changed files with 7 additions and 5 deletions
|
|
@ -40,6 +40,12 @@ repos:
|
|||
additional_dependencies:
|
||||
- flake8-import-order~=0.18.2
|
||||
exclude: '^(doc|releasenotes|tools|devstack)/.*$'
|
||||
- repo: https://github.com/openstack/bashate
|
||||
rev: 2.1.1
|
||||
hooks:
|
||||
- id: bashate
|
||||
files: devstack/plugin.sh
|
||||
exclude: '.tox/.*'
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.15.0
|
||||
hooks:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
hacking
|
||||
flake8-docstrings
|
||||
bashate~=2.1.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
freezegun>=0.3.6 # Apache-2.0
|
||||
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -19,14 +19,11 @@ allowlist_externals =
|
|||
passenv = http_proxy,HTTP_PROXY,https_proxy,HTTPS_PROXY,no_proxy,NO_PROXY,PBR_VERSION
|
||||
|
||||
[testenv:pep8]
|
||||
skip_install = true
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pre-commit
|
||||
commands =
|
||||
pre-commit run --all-files --show-diff-on-failure
|
||||
# Run bash8 during pep8 runs to ensure violations are caught by
|
||||
# the check and gate queues
|
||||
bashate devstack/plugin.sh
|
||||
|
||||
[testenv:fast8]
|
||||
deps = {[testenv:pep8]deps}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue