Colin Watson has proposed merging ~cjwatson/launchpad:black-pre-commit-mirror
into launchpad:master.
Commit message:
pre-commit: Upgrade to black 23.9.1 and use pre-commit mirror
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/451950
https://black.readthedocs.io/en/stable/change_log.html says "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". I didn't
observe quite that much of an improvement in `pre-commit run -a black`, but it
does seem somewhat faster for me, so we might as well.
--
Your team Launchpad code reviewers is requested to review the proposed merge of
~cjwatson/launchpad:black-pre-commit-mirror into launchpad:master.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0c51a41..12369b7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -35,8 +35,8 @@ repos:
lib/contrib/.*
|utilities/community-contributions\.py
)$
-- repo: https://github.com/psf/black
- rev: 23.3.0
+- repo: https://github.com/psf/black-pre-commit-mirror
+ rev: 23.9.1
hooks:
- id: black
exclude: |
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp