Use native pre-commit hook for hacking
Change-Id: I69d46ca4229f2ba2a5a30ab55e700f1c0c2a7cab
This commit is contained in:
parent
cebb7d1f6f
commit
e84ab5afb7
@ -18,16 +18,11 @@ 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: 7.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: hacking
|
||||||
name: flake8
|
additional_dependencies: []
|
||||||
additional_dependencies:
|
|
||||||
- hacking>=6.1.0,<6.2.0
|
|
||||||
language: python
|
|
||||||
entry: flake8
|
|
||||||
files: '^.*\.py$'
|
|
||||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
|
||||||
- repo: https://github.com/PyCQA/bandit
|
- repo: https://github.com/PyCQA/bandit
|
||||||
rev: 1.7.6
|
rev: 1.7.6
|
||||||
hooks:
|
hooks:
|
||||||
|
Loading…
Reference in New Issue
Block a user