Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ 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
rev: v1.6.1
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]
Expand Down Expand Up @@ -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.14.10
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.2.1 # Last version to support Python 3.8
hooks:
- id: poetry-check
- id: poetry-lock
Expand Down Expand Up @@ -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.3 # 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.37.1 # 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.19.1 # 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.36.0 # 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.10.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:
Expand All @@ -180,18 +180,18 @@ 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.47.0
hooks:
- id: markdownlint
language_version: 22.14.0
Expand Down