From b95b0d1c1592db5a544dddef2728c786bf933b55 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 13 Feb 2025 10:31:25 +0100 Subject: [PATCH 1/2] Manually update pre-commit hooks that do not trigger new errors/fixes. --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cc2cfd9d8..6caeaff11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-case-conflict - id: check-ast @@ -22,7 +22,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.4 + rev: 0.31.1 hooks: - id: check-github-workflows @@ -40,7 +40,7 @@ repos: types_or: [yaml, html, json] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.8.0" + rev: "v1.15.0" hooks: - id: mypy files: ipykernel @@ -55,7 +55,7 @@ repos: ] - repo: https://github.com/adamchainz/blacken-docs - rev: "1.16.0" + rev: "1.19.1" hooks: - id: blacken-docs additional_dependencies: [black==23.7.0] From b1880cde37a5a98d94bf6f07d9789d745cb99d57 Mon Sep 17 00:00:00 2001 From: M Bussonnier Date: Thu, 13 Feb 2025 02:36:45 -0800 Subject: [PATCH 2/2] Apply suggestions from code review --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6caeaff11..2f6a92fd2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: types_or: [yaml, html, json] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.15.0" + rev: "v1.8.0" hooks: - id: mypy files: ipykernel