diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b6ac3b9..7932414e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: - # Hooks run everywhere + # Hooks that are run everywhere - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.2 # Only update together with the pre-commit yaml in the tempalate! + rev: v3.0.3 # Only update together with the pre-commit yaml in the tempalate! hooks: - id: prettier # Newer versions of node don't work on systems that have an older version of GLIBC @@ -10,14 +10,14 @@ repos: # See https://github.com/scverse/cookiecutter-scverse/issues/143 and # https://github.com/jupyterlab/jupyterlab/issues/12675 language_version: "17.9.1" - # Hooks run for scripts + # Hooks that are run for scripts - repo: https://github.com/psf/black rev: "23.7.0" hooks: - id: black files: ^scripts/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.286 + rev: v0.0.287 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 11c1f3e4..f2a8be72 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: hooks: - id: blacken-docs - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.2 + rev: v3.0.3 hooks: - id: prettier # Newer versions of node don't work on systems that have an older version of GLIBC @@ -25,7 +25,7 @@ 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.286 + rev: v0.0.287 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]