From 2d66a1c8acf82db202c79b1223424c78414cbd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 15 Aug 2023 22:27:26 +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 530af47..9c8becc 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -31,7 +31,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 9abaa79..30d34e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,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