From ed1b49d55fdfa9d1db6f8bd101c72072390c1d3c Mon Sep 17 00:00:00 2001 From: Anders <6058745+ddabble@users.noreply.github.com> Date: Tue, 26 Dec 2023 15:47:05 +0100 Subject: [PATCH] Swap black with pre-commit mirror version in config This will make Black "about 2x faster", according to https://github.com/psf/black/blob/main/CHANGES.md#2390. --- .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 05f793a1..5294ce39 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: args: - "-x *test*.py" - - repo: https://github.com/psf/black + - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.12.1 hooks: - id: black