From b37015986efafe45a490d71470c399b2c9a7a0be Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:54:21 +0000 Subject: [PATCH 1/6] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.4](https://github.com/pre-commit/mirrors-prettier/compare/v3.1.0...v4.0.0-alpha.4) - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.1.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.1.7) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 55d9a8a0..6cdf16ac 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.1.0 # Only update together with the pre-commit yaml in the tempalate! + rev: v4.0.0-alpha.4 # 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 @@ -17,7 +17,7 @@ repos: - id: black files: ^scripts/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.6 + rev: v0.1.7 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From 0981ed7c899c7a8dd218bf971b379870da6b7037 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" Date: Mon, 11 Dec 2023 17:54:35 +0000 Subject: [PATCH 2/6] Apply automatic changes --- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 94c745ad..241ca9e0 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.1.0 + rev: v4.0.0-alpha.4 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.6 + rev: v0.1.7 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From e2dcc1d36610a7774365e799875d4e4b38414ea4 Mon Sep 17 00:00:00 2001 From: Philipp A Date: Thu, 14 Dec 2023 11:11:52 +0100 Subject: [PATCH 3/6] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6cdf16ac..6ef7f720 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,12 +4,6 @@ repos: rev: v4.0.0-alpha.4 # 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 - # (in particular Ubuntu 18.04 and Centos 7) - # EOL of Centos 7 is in 2024-06, we can probably get rid of this then. - # See https://github.com/scverse/cookiecutter-scverse/issues/143 and - # https://github.com/jupyterlab/jupyterlab/issues/12675 - language_version: "17.9.1" # Hooks that are run for scripts - repo: https://github.com/psf/black rev: "23.11.0" From 53f62a990918b58a1bbfaf92bd60f478760c2293 Mon Sep 17 00:00:00 2001 From: flying-sheep Date: Thu, 14 Dec 2023 10:12:11 +0000 Subject: [PATCH 4/6] Apply automatic changes --- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 241ca9e0..8cfa58b3 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.11.0" + rev: "23.12.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: v4.0.0-alpha.4 + rev: v4.0.0-alpha.5 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.7 + rev: v0.1.8 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] From b1040e15b74b245b22b1a1135912f01829f87f27 Mon Sep 17 00:00:00 2001 From: Philipp A Date: Thu, 14 Dec 2023 11:12:26 +0100 Subject: [PATCH 5/6] Update .pre-commit-config.yaml --- {{cookiecutter.project_name}}/.pre-commit-config.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 8cfa58b3..127fe9f8 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -18,12 +18,6 @@ repos: rev: v4.0.0-alpha.5 hooks: - id: prettier - # Newer versions of node don't work on systems that have an older version of GLIBC - # (in particular Ubuntu 18.04 and Centos 7) - # EOL of Centos 7 is in 2024-06, we can probably get rid of this then. - # See https://github.com/scverse/cookiecutter-scverse/issues/143 and - # https://github.com/jupyterlab/jupyterlab/issues/12675 - language_version: "17.9.1" - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.8 hooks: From 03329c52916ba9a905cc91d3b322dbc77eb4fce7 Mon Sep 17 00:00:00 2001 From: Philipp A Date: Thu, 14 Dec 2023 11:13:34 +0100 Subject: [PATCH 6/6] version update --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ef7f720..7ce6a2d7 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: v4.0.0-alpha.4 # Only update together with the pre-commit yaml in the tempalate! + rev: v4.0.0-alpha.5 # Only update together with the pre-commit yaml in the tempalate! hooks: - id: prettier # Hooks that are run for scripts @@ -11,7 +11,7 @@ repos: - id: black files: ^scripts/ - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.7 + rev: v0.1.8 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]