ci(pre-commit): update pre-commit hooks

Update task names to match name[casing] tag in ansible-lint
This commit is contained in:
Wallun 2023-02-22 10:05:55 +01:00
parent f9656af8bf
commit 5773bff449
Signed by: wallun
GPG Key ID: 71D17013D836735B
2 changed files with 7 additions and 7 deletions

View File

@ -3,26 +3,26 @@ default_stages: [ commit, manual ]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: no-commit-to-branch
args: [ --branch, main ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: fix-byte-order-marker
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.0.2
rev: v6.14.0a0
hooks:
- name: Run ansible-lint
id: ansible-lint
- repo: https://github.com/jorisroovers/gitlint
rev: v0.17.0
rev: v0.19.0dev
hooks:
- name: Run gitlint
id: gitlint

View File

@ -1,5 +1,5 @@
---
- name: raw | Install python3 on Archlinux
- name: Raw | Install python3 on Archlinux
ansible.builtin.raw: |
test -e /bin/pacman &&\
pacman -S python3 --asexplicit --noconfirm ||\
@ -14,7 +14,7 @@
- raw
- install
- name: raw | Install python3 on RHEL
- name: Raw | Install python3 on RHEL
ansible.builtin.raw: |
test -e /usr/bin/dnf &&\
dnf install -y python3 ||\
@ -29,7 +29,7 @@
- raw
- install
- name: raw | install python3 on Debian
- name: Raw | install python3 on Debian
ansible.builtin.raw: |
test -e /usr/bin/apt &&\
apt install python3 ||\