From 9d8f0181d139026ed1f4bad8eb5c68d0996cbfaf Mon Sep 17 00:00:00 2001 From: "amplify-renovate[bot]" <307254993+amplify-renovate[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 23:52:36 +0000 Subject: [PATCH] Update pre-commit hooks --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c7a64d..7169789 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,36 +3,36 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-added-large-files - id: no-commit-to-branch # Prevents commits directly to master - repo: https://github.com/adrienverge/yamllint.git - rev: v1.28.0 + rev: v1.38.0 hooks: - id: yamllint name: Lint YAML args: [--format, parsable, --strict] - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt - rev: 0.2.2 # or specific tag + rev: 0.2.3 # or specific tag hooks: - id: yamlfmt args: [--mapping, '2', --sequence, '4', --offset, '2'] - repo: https://github.com/executablebooks/mdformat.git - rev: 0.7.16 + rev: 0.7.22 hooks: - id: mdformat name: Format markdown - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.21 + rev: v0.16.9 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.20.2 hooks: - id: mypy # You can use additional_dependencies to install types- packages