Skip to content

Commit

Permalink
馃О Use black-pre-commit-mirror for 2x speedup (#205)
Browse files Browse the repository at this point in the history
[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
(psf/black#3828)

### Change summary

- [馃О Use black-pre-commit-mirror for 2x
speedup](03efc26)

<!-- Documentation changes, only needed if bigger changes were made  -->

<!-- Links to the changed sections

- [section1](link_to_docs_built_for_the_PR)
- [section2](link_to_docs_built_for_the_PR) -->

### Checklist

- [x] 鉁旓笍 Passing the tests (mandatory for all PR's)
  • Loading branch information
s-weigand committed Sep 16, 2023
1 parent 76fba37 commit 5e200f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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]
Expand Down

0 comments on commit 5e200f6

Please sign in to comment.