Fixing the old syntax of using queue
- Moved queue one level up as per [1] - Updated versions of the linters Newest version as of now are - black 22.10.0 https://github.com/psf/black/tags - flake8 5.0.4 https://gitlab.com/pycqa/flake8/tags - pre-commit-hooks v4.3.0 https://github.com/pre-commit/pre-commit-hooks/tags - yamllint v1.28.0 https://github.com/adrienverge/yamllint/tags - mirrors-isort v5.10.1 https://github.com/pre-commit/mirrors-isort/tags [1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html Change-Id: Iccd719e41e7328d404b1ee53b7e3bd0cef4d0c84
This commit is contained in:
parent
a4568d33a6
commit
6095c7426d
@ -1,7 +1,7 @@
|
||||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
||||
rev: v3.4.0
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
@ -12,7 +12,7 @@ repos:
|
||||
- id: debug-statements
|
||||
language_version: python3
|
||||
- repo: https://github.com/adrienverge/yamllint.git
|
||||
rev: v1.26.1
|
||||
rev: v1.28.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
files: \.(yaml|yml)$
|
||||
@ -24,19 +24,19 @@ repos:
|
||||
entry: >
|
||||
yamllint --strict -d "rules: { key-ordering: enable }"
|
||||
- repo: https://github.com/pre-commit/mirrors-isort
|
||||
rev: v5.8.0
|
||||
rev: v5.10.1
|
||||
hooks:
|
||||
- id: isort
|
||||
args:
|
||||
# https://github.com/pre-commit/mirrors-isort/issues/9#issuecomment-624404082
|
||||
- --filter-files
|
||||
- repo: https://github.com/python/black.git
|
||||
rev: 21.4b2
|
||||
rev: 22.10.0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3
|
||||
- repo: https://github.com/pycqa/flake8.git
|
||||
rev: 3.9.1
|
||||
rev: 5.0.4
|
||||
hooks:
|
||||
- id: flake8
|
||||
language_version: python3
|
||||
|
@ -6,9 +6,9 @@
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-py38
|
||||
# Deliberately avoid tripleo queue on this repository because it would
|
||||
# slowdown changes, where most are of urgent nature, like updating the
|
||||
# list of queries. This repository is not supposed to use any
|
||||
# dependencies on other changes.
|
||||
queue: system-config
|
||||
# Deliberately avoid tripleo queue on this repository because it would
|
||||
# slowdown changes, where most are of urgent nature, like updating the
|
||||
# list of queries. This repository is not supposed to use any
|
||||
# dependencies on other changes.
|
||||
queue: system-config
|
||||
gate: *jobs
|
||||
|
Loading…
Reference in New Issue
Block a user