From b4ce3c497f7a303b28ebd80cc64ccb142c65bd30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 15 Aug 2023 22:42:45 +0300 Subject: [PATCH] chore(pre-commit): switch black to -pre-commit-mirror Refs https://github.com/psf/black/issues/3405 --- .github/renovate.json | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index c1b24ef..4f82d07 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -30,7 +30,7 @@ "semanticCommitScope": "pre-commit" }, { - "matchPackagePatterns": ["(^|/)black$"], + "matchPackagePatterns": ["(^|/)black(-pre-commit-mirror)?$"], "groupName": "black", "versioning": "pep440" }, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 375f32b..6c07edf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: hooks: - id: ruff - - repo: https://github.com/psf/black + - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.7.0 hooks: - id: black