diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1f35741..5ad0d09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: additional_dependencies: - pyjson5>=1.6.8 - repo: https://github.com/pre-commit/pre-commit - rev: v3.5.0 # Last version to support Python 3.8 + rev: v4.5.1 # Last version to support Python 3.8 hooks: - id: validate_manifest - repo: https://github.com/pre-commit-ci/pre-commit-ci-config @@ -47,7 +47,7 @@ repos: hooks: - id: check-pre-commit-ci-config - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-added-large-files args: [--maxkb=1024] @@ -86,16 +86,16 @@ repos: ) - id: trailing-whitespace - repo: https://github.com/pre-commit/sync-pre-commit-deps - rev: v0.0.1 # Last version to support Python 3.8 + rev: v0.0.3 # Last version to support Python 3.8 hooks: - id: sync-pre-commit-deps - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.3 + rev: v0.15.9 hooks: - id: ruff-format - id: ruff - repo: https://github.com/python-poetry/poetry - rev: 1.8.5 # Last version to support Python 3.8 + rev: 2.3.2 # Last version to support Python 3.8 hooks: - id: poetry-check - id: poetry-lock @@ -111,11 +111,11 @@ repos: - id: python-use-type-annotations - id: text-unicode-replacement-char - repo: https://github.com/PyCQA/autoflake - rev: v2.3.1 + rev: v2.3.3 hooks: - id: autoflake - repo: https://github.com/MarcoGorelli/auto-walrus - rev: 0.3.4 + rev: 0.4.1 hooks: - id: auto-walrus - repo: https://github.com/jumanjihouse/pre-commit-hooks @@ -124,52 +124,52 @@ repos: - id: forbid-binary always_run: true - repo: https://github.com/pappasam/toml-sort - rev: v0.23.1 # Last version to support Python 3.8 + rev: v0.24.4 # Last version to support Python 3.8 hooks: - id: toml-sort-fix exclude: "\\.lock$" - repo: https://github.com/google/yamlfmt - rev: v0.17.2 + rev: v0.21.0 hooks: - id: yamlfmt - repo: https://github.com/adrienverge/yamllint - rev: v1.35.1 # Last version to support Python 3.8 + rev: v1.38.0 # Last version to support Python 3.8 hooks: - id: yamllint args: [--strict] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.14.1 # Last version to support Python 3.8 + rev: v1.20.0 # Last version to support Python 3.8 hooks: - id: mypy - repo: https://github.com/asottile/pyupgrade - rev: v3.10.0 # Last version to support Python 3.8 + rev: v3.21.2 # Last version to support Python 3.8 hooks: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/PyCQA/docformatter - rev: eb1df347edd128b30cd3368dddc3aa65edcfac38 # Requires >v1.7.5 + rev: v1.7.7 # Requires >v1.7.5 hooks: - id: docformatter args: [--in-place, --config, pyproject.toml] additional_dependencies: [tomli==2.0.1] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.30.0 # Last version to support Python 3.8 + rev: 0.37.1 # Last version to support Python 3.8 hooks: - id: check-github-workflows - id: check-renovate - repo: https://github.com/Mateusz-Grzelinski/actionlint-py - rev: v1.7.6.22 + rev: v1.7.12.24 hooks: - id: actionlint additional_dependencies: [pyflakes>=3.1.0, shellcheck-py>=0.9.0.5] - repo: https://github.com/crate-ci/typos - rev: v1.34.0 + rev: v1 hooks: - id: typos exclude_types: - svg - repo: https://github.com/executablebooks/mdformat - rev: 0.7.17 # Last version to support Python 3.8 + rev: 1.0.0 # Last version to support Python 3.8 hooks: - id: mdformat additional_dependencies: @@ -180,24 +180,24 @@ repos: - mdformat-config==0.1.3 - mdformat-toc==0.3.0 - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 # Last version to support Python 3.8 + rev: 1.20.0 # Last version to support Python 3.8 hooks: - id: blacken-docs args: [--line-length=120] - repo: https://github.com/tcort/markdown-link-check # Stick to 3.11.2 until https://github.com/tcort/markdown-link-check/issues/325 is fixed - rev: v3.11.2 + rev: v3.14.2 hooks: - id: markdown-link-check args: ["--quiet", "--config", ".md-link-config.json"] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.45.0 + rev: v0.48.0 hooks: - id: markdownlint language_version: 22.14.0 args: ["--dot", "--fix"] - repo: https://github.com/jendrikseipp/vulture - rev: v2.14 + rev: v2.16 hooks: - id: vulture pass_filenames: true