From 5e200f6c509139f67d0189efb7f36e2e953ad993 Mon Sep 17 00:00:00 2001 From: Sebastian Weigand Date: Sat, 16 Sep 2023 09:09:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B0=20Use=20black-pre-commit-mirror=20?= =?UTF-8?q?for=202x=20speedup=20(#205)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [See latest black release](https://github.com/psf/black/releases/tag/23.9.0) > Black now has an [official pre-commit mirror](https://github.com/psf/black-pre-commit-mirror). Swapping https://github.com/psf/black to https://github.com/psf/black-pre-commit-mirror in your .pre-commit-config.yaml will make Black about 2x faster (https://github.com/psf/black/pull/3828) ### Change summary - [🧰 Use black-pre-commit-mirror for 2x speedup](https://github.com/glotaran/pyglotaran-extras/commit/03efc26c392b761e2955b5d4a62f4c8896a16a92) ### Checklist - [x] ✔️ Passing the tests (mandatory for all PR's) --- .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 da55253..8f02a6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,8 +32,8 @@ repos: hooks: - id: absolufy-imports - - repo: https://github.com/psf/black - rev: 23.7.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 23.9.1 hooks: - id: black language_version: python3 @@ -90,7 +90,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.287 + rev: v0.0.289 hooks: - id: ruff @@ -111,7 +111,7 @@ repos: additional_dependencies: [pydoclint==0.1.4] - repo: https://github.com/rstcheck/rstcheck - rev: "v6.1.2" + rev: "v6.2.0" hooks: - id: rstcheck additional_dependencies: [sphinx]