diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 49b37efa..cbf49085 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: language: system always_run: true pass_filenames: false - stages: [commit] + stages: [pre-commit] - id: autofix-docs name: Autofix ReST documentation from docstrings and TOML entry: poetry run python3 docs/autofix_docs.py @@ -32,9 +32,9 @@ repos: always_run: true pass_filenames: false types: [python, toml] - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: debug-statements - id: end-of-file-fixer @@ -52,7 +52,7 @@ repos: # - poetry.lock: auto-generated file exclude: (ideas/|resources/|tests/|poetry.lock) - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.8 + rev: v0.7.0 hooks: - id: ruff args: [--fix] @@ -66,12 +66,12 @@ repos: hooks: - id: sort-all - repo: https://github.com/psf/black - rev: 24.8.0 + rev: 24.10.0 hooks: - id: black args: [--safe, --quiet] - repo: https://github.com/asottile/blacken-docs - rev: 1.18.0 + rev: 1.19.0 hooks: - id: blacken-docs additional_dependencies: [black==23.7.0] @@ -84,9 +84,9 @@ repos: rev: v4.0.0-alpha.8 hooks: - id: prettier - stages: [commit] + stages: [pre-commit] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.2 + rev: v1.12.1 hooks: - id: mypy # https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-show-error-codes