diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 899506b..7297d0d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,18 +2,18 @@ fail_fast: false default_language_version: python: python3 default_stages: - - commit - - push + - pre-commit + - pre-push minimum_pre_commit_version: 2.9.3 repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.13.0 hooks: - id: mypy additional_dependencies: [numpy>=1.23] exclude: docs - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black additional_dependencies: [toml] @@ -22,7 +22,7 @@ repos: hooks: - id: prettier - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: detect-private-key - id: check-merge-conflict @@ -45,11 +45,11 @@ repos: - id: check-toml - id: requirements-txt-fixer - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.19.1 hooks: - id: blacken-docs - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.8.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]