From 360610f47fc1ad3abf1404957187d74b412b8d36 Mon Sep 17 00:00:00 2001 From: Philipp Krenn Date: Wed, 17 Dec 2025 20:04:39 -0800 Subject: [PATCH 1/2] Update of the black pre-commit check Moved to the PSF repo. Latest stable version with Python 3.9+ support. --- .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 2856f309..095343be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: # generic [...]_PASSWORD=[...] pattern - --additional-pattern - '_PASSWORD=[0-9a-zA-Z_-]{10}' -- repo: https://github.com/ambv/black - rev: 24.1.1 # Use latest tag on GitHub +- repo: https://github.com/psf/black + rev: 25.12.0 # Use latest tag on GitHub hooks: - id: black-jupyter From 2b71f56efc7642220b87203a20714058a5e54fba Mon Sep 17 00:00:00 2001 From: Philipp Krenn Date: Wed, 17 Dec 2025 20:14:17 -0800 Subject: [PATCH 2/2] And remove the Python version pinning This is only going to cause problems and will never stay up to date --- .github/workflows/pre-commit.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1194b963..ec4d9b3a 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,6 +11,4 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - with: - python-version: '3.13' # or '3.12' - uses: pre-commit/action@v3.0.0