diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75517703..b1fc3afa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Hooks that are run everywhere - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 # Only update together with the pre-commit yaml in the tempalate! + rev: v3.1.0 # 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 @@ -12,12 +12,12 @@ repos: language_version: "17.9.1" # Hooks that are run for scripts - repo: https://github.com/psf/black - rev: "23.10.1" + rev: "23.11.0" hooks: - id: black files: ^scripts/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.3 + rev: v0.1.5 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 55b1ffac..6d0aa48d 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -7,7 +7,7 @@ default_stages: minimum_pre_commit_version: 2.16.0 repos: - repo: https://github.com/psf/black - rev: "23.10.1" + rev: "23.11.0" hooks: - id: black - repo: https://github.com/asottile/blacken-docs @@ -15,7 +15,7 @@ repos: hooks: - id: blacken-docs - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + rev: v3.1.0 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.1.3 + rev: v0.1.5 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]