aboutsummaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-06-26 22:11:18 +0200
committerColin Wilk <colin@wilk.cx>2026-06-26 22:11:18 +0200
commitbd022f046651d287309b26164cd60a3d6d38471c (patch)
tree557f3ecba27708dbaa9747d53bf571cd91041aac /.pre-commit-config.yaml
parent2570550feba2abc80c182ca5e6918f29c22c4cf8 (diff)
downloadansible-role-borgbackup-bd022f046651d287309b26164cd60a3d6d38471c.tar.gz
ansible-role-borgbackup-bd022f046651d287309b26164cd60a3d6d38471c.zip
Update and fix pre-commit hooks
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml11
1 files changed, 5 insertions, 6 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0204c17..e9eb853 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,9 +1,8 @@
---
-default_stages: [commit, push]
-
+default_stages: [pre-commit, pre-push]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.0.1
+ rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-yaml
@@ -12,12 +11,12 @@ repos:
- id: end-of-file-fixer
- repo: https://github.com/ansible-community/ansible-lint.git
- rev: v6.15.0
+ rev: v25.5.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
- - repo: https://github.com/markdownlint/markdownlint
- rev: v0.12.0
+ - repo: https://github.com/igorshubovych/markdownlint-cli
+ rev: v0.43.0
hooks:
- id: markdownlint