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:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
||||||
rev: v3.4.0
|
rev: v4.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
@ -12,7 +12,7 @@ repos:
|
|||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
language_version: python3
|
language_version: python3
|
||||||
- repo: https://github.com/adrienverge/yamllint.git
|
- repo: https://github.com/adrienverge/yamllint.git
|
||||||
rev: v1.26.1
|
rev: v1.28.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamllint
|
- id: yamllint
|
||||||
files: \.(yaml|yml)$
|
files: \.(yaml|yml)$
|
||||||
@ -24,19 +24,19 @@ repos:
|
|||||||
entry: >
|
entry: >
|
||||||
yamllint --strict -d "rules: { key-ordering: enable }"
|
yamllint --strict -d "rules: { key-ordering: enable }"
|
||||||
- repo: https://github.com/pre-commit/mirrors-isort
|
- repo: https://github.com/pre-commit/mirrors-isort
|
||||||
rev: v5.8.0
|
rev: v5.10.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args:
|
args:
|
||||||
# https://github.com/pre-commit/mirrors-isort/issues/9#issuecomment-624404082
|
# https://github.com/pre-commit/mirrors-isort/issues/9#issuecomment-624404082
|
||||||
- --filter-files
|
- --filter-files
|
||||||
- repo: https://github.com/python/black.git
|
- repo: https://github.com/python/black.git
|
||||||
rev: 21.4b2
|
rev: 22.10.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
language_version: python3
|
language_version: python3
|
||||||
- repo: https://github.com/pycqa/flake8.git
|
- repo: https://github.com/pycqa/flake8.git
|
||||||
rev: 3.9.1
|
rev: 5.0.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
language_version: python3
|
language_version: python3
|
||||||
|
Loading…
Reference in New Issue
Block a user