diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c51e009..b1fe952 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,12 +2,12 @@ fail_fast: false default_language_version: python: python3 default_stages: - - commit - - push + - pre-commit + - pre-push minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/mwouts/jupytext - rev: v1.15.0 + rev: v1.16.4b hooks: - id: jupytext args: @@ -25,15 +25,15 @@ repos: - ruff==0.0.261 files: "^(docs/notebooks|_preprocessing)/.*$" - repo: https://github.com/psf/black - rev: "23.7.0" + rev: "24.10.0" hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: 1.16.0 + rev: 1.19.1 hooks: - id: blacken-docs - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.2 + rev: v4.0.0-alpha.8 hooks: - id: prettier # Newer versions of node don't work on systems that have an older version of GLIBC @@ -43,12 +43,12 @@ repos: # https://github.com/jupyterlab/jupyterlab/issues/12675 language_version: "17.9.1" - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.285 + rev: v0.7.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: detect-private-key - id: check-ast