Add hacking check to the pre-commit configuration
By default, it will inherit the hacking checks implemented in neutron-lib. Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Change-Id: Ic0780ab9868389dec6a9307c3242a7051930af37
This commit is contained in:
committed by
Rodolfo Alonso
parent
fed6d3241f
commit
8d9747bcf6
@@ -31,3 +31,9 @@ repos:
|
||||
entry: flake8
|
||||
files: '^.*\.py$'
|
||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
||||
- repo: https://opendev.org/openstack/hacking
|
||||
rev: 7.0.0
|
||||
hooks:
|
||||
- id: hacking
|
||||
additional_dependencies: ['neutron-lib']
|
||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
pbr>=3.0.0 # Apache-2.0
|
||||
neutron-lib>=1.25.0 # Apache-2.0
|
||||
neutron-lib>=3.21.1 # Apache-2.0
|
||||
oslo.config>=5.2.0 # Apache-2.0
|
||||
netaddr>=0.7.18 # BSD
|
||||
os-ken>=0.3.0 # Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user