Browse Source

CI: cleanup dependencies, pre-commit autoupdate (#11904)

ansible-lint and yamllint are run as pre-commit hooks, which are
installed by pre-commit directly. So there is no need to put them in
tests/requirements.txt.

So remove them and make it leaner.
pull/11879/head
Max Gautier 4 weeks ago
committed by GitHub
parent
commit
bfe858ba06
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions
  1. 2
      .pre-commit-config.yaml
  2. 4
      tests/requirements.txt

2
.pre-commit-config.yaml

@ -29,7 +29,7 @@ repos:
files: "\\.sh$"
- repo: https://github.com/ansible/ansible-lint
rev: v24.12.2
rev: v25.1.0
hooks:
- id: ansible-lint
additional_dependencies:

4
tests/requirements.txt

@ -1,8 +1,6 @@
-r ../requirements.txt
ansible-lint==24.12.2
distlib==0.3.9
distlib==0.3.9 # required for building collections
molecule==24.12.0
molecule-plugins[vagrant]==23.6.0
pytest-testinfra==10.1.1
python-vagrant==1.0.0
yamllint==1.35.1
Loading…
Cancel
Save