diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-07-03 20:15:09 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-07-03 20:15:09 +0200 |
| commit | 9368443af5c0cdfbadbd54f92814dadce1c4e663 (patch) | |
| tree | 8bfd750d7c4623c52adc775f51468bced1a01d5e /.pre-commit-config.yaml | |
| parent | 7074302088d7283181f03c8ad3108322b9033bc3 (diff) | |
| download | ansible-role-prometheus-target-9368443af5c0cdfbadbd54f92814dadce1c4e663.tar.gz ansible-role-prometheus-target-9368443af5c0cdfbadbd54f92814dadce1c4e663.zip | |
refactor: bump and fix pre-commit errors
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d50a19..2b893f4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,24 +1,28 @@ --- -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 - id: trailing-whitespace - - id: double-quote-string-fixer - 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 - args: [-s, .markdownlint.rb] + + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.15.20 + hooks: + - id: ruff-check + args: [--fix] + - id: ruff-format |