From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Fri, 4 Aug 2023 01:46:08 +0000 (-0700) Subject: Document pre-commit mirror (#3828) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/59e8936768889f583488df609c45302da8e88507 Document pre-commit mirror (#3828) --- diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 1379570..a1ff41f 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,3 +1,5 @@ +# Note that we recommend using https://github.com/psf/black-pre-commit-mirror instead +# This will work about 2x as fast as using the hooks in this repository - id: black name: black description: "Black: The uncompromising Python code formatter" diff --git a/CHANGES.md b/CHANGES.md index 709c767..1de0879 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -44,6 +44,11 @@ +- 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 (#3828) + ### Documentation