pre-commit: Bump versions, switch to native hacking plugin
Change-Id: Ic173f9579a2cff1138368e376d50a3f31d1567a3 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
a9509f874a
commit
81e74e189c
@ -4,7 +4,7 @@ default_language_version:
|
|||||||
python: python3
|
python: python3
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
@ -15,13 +15,9 @@ repos:
|
|||||||
- id: debug-statements
|
- id: debug-statements
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
files: .*\.(yaml|yml)$
|
files: .*\.(yaml|yml)$
|
||||||
- repo: local
|
- repo: https://opendev.org/openstack/hacking
|
||||||
|
rev: 6.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: hacking
|
||||||
name: flake8
|
additional_dependencies: []
|
||||||
additional_dependencies:
|
|
||||||
- hacking~=6.0.1
|
|
||||||
language: python
|
|
||||||
entry: flake8
|
|
||||||
files: '^.*\.py$'
|
|
||||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
exclude: '^(doc|releasenotes|tools)/.*$'
|
||||||
|
Loading…
Reference in New Issue
Block a user