mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-31 17:19:17 -03:30
ansible-lint: Adjust pre-commit hooks dependencies
Dropping the ansible dependencies for ansible-lint will allow us to catch missing dependencies collections in galaxy.yml. For collections needed for contrib/ or tests/ (i.e: not part of core kubespray dependencies), we can just configure ansible-lint to mock them. This mean it won't check the mocked module parameters, but for those area of the code base it's an acceptable trade-off.
This commit is contained in:
@@ -39,7 +39,6 @@ repos:
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
additional_dependencies:
|
||||
- ansible==9.8.0
|
||||
- jsonschema==4.22.0
|
||||
- jmespath==1.0.1
|
||||
- netaddr==1.3.0
|
||||
|
||||
Reference in New Issue
Block a user