ci(pre-commit): update pre-commit hooks
Update task names to match name[casing] tag in ansible-lint
This commit is contained in:
parent
f9656af8bf
commit
5773bff449
|
@ -3,26 +3,26 @@ default_stages: [ commit, manual ]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.2.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
args: [ --branch, main ]
|
args: [ --branch, main ]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.2.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
|
|
||||||
- repo: https://github.com/ansible-community/ansible-lint.git
|
- repo: https://github.com/ansible-community/ansible-lint.git
|
||||||
rev: v6.0.2
|
rev: v6.14.0a0
|
||||||
hooks:
|
hooks:
|
||||||
- name: Run ansible-lint
|
- name: Run ansible-lint
|
||||||
id: ansible-lint
|
id: ansible-lint
|
||||||
|
|
||||||
- repo: https://github.com/jorisroovers/gitlint
|
- repo: https://github.com/jorisroovers/gitlint
|
||||||
rev: v0.17.0
|
rev: v0.19.0dev
|
||||||
hooks:
|
hooks:
|
||||||
- name: Run gitlint
|
- name: Run gitlint
|
||||||
id: gitlint
|
id: gitlint
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: raw | Install python3 on Archlinux
|
- name: Raw | Install python3 on Archlinux
|
||||||
ansible.builtin.raw: |
|
ansible.builtin.raw: |
|
||||||
test -e /bin/pacman &&\
|
test -e /bin/pacman &&\
|
||||||
pacman -S python3 --asexplicit --noconfirm ||\
|
pacman -S python3 --asexplicit --noconfirm ||\
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
- raw
|
- raw
|
||||||
- install
|
- install
|
||||||
|
|
||||||
- name: raw | Install python3 on RHEL
|
- name: Raw | Install python3 on RHEL
|
||||||
ansible.builtin.raw: |
|
ansible.builtin.raw: |
|
||||||
test -e /usr/bin/dnf &&\
|
test -e /usr/bin/dnf &&\
|
||||||
dnf install -y python3 ||\
|
dnf install -y python3 ||\
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
- raw
|
- raw
|
||||||
- install
|
- install
|
||||||
|
|
||||||
- name: raw | install python3 on Debian
|
- name: Raw | install python3 on Debian
|
||||||
ansible.builtin.raw: |
|
ansible.builtin.raw: |
|
||||||
test -e /usr/bin/apt &&\
|
test -e /usr/bin/apt &&\
|
||||||
apt install python3 ||\
|
apt install python3 ||\
|
||||||
|
|
Loading…
Reference in New Issue