diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd7b0a3..6326578 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v6.0.0 hooks: # General - id: check-added-large-files @@ -35,7 +35,7 @@ repos: - id: check-hooks-apply - id: check-useless-excludes - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.4.1 hooks: - id: codespell args: [--ignore-words, .meta/codespell-ignores] @@ -45,13 +45,13 @@ repos: - id: prettier args: [--config, .meta/prettierrc.yml] - repo: https://github.com/adrienverge/yamllint - rev: v1.33.0 + rev: v1.37.1 hooks: - id: yamllint args: [-c, .meta/yamllint.yaml] # Python - repo: https://github.com/asottile/setup-cfg-fmt - rev: v2.5.0 + rev: v3.2.0 hooks: - id: setup-cfg-fmt - repo: https://github.com/pre-commit/pygrep-hooks @@ -62,17 +62,17 @@ repos: - id: python-use-type-annotations - id: python-no-log-warn - repo: https://github.com/asottile/reorder-python-imports - rev: v3.12.0 + rev: v3.16.0 hooks: - id: reorder-python-imports args: [--py36-plus] - repo: https://github.com/asottile/add-trailing-comma - rev: v3.1.0 + rev: v4.0.0 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.21.2 hooks: - id: pyupgrade args: [--py36-plus] @@ -82,17 +82,17 @@ repos: - id: yesqa additional_dependencies: [pep8-naming] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.19.1 hooks: - id: mypy args: [--config-file, .meta/mypy.ini] - - repo: https://github.com/psf/black - rev: "24.1.1" + - repo: https://github.com/psf/black-pre-commit-mirror + rev: "25.12.0" hooks: - id: black language_version: python38 - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 additional_dependencies: