Skip to content

Commit

Permalink
Switch to the pre-commit mirror for black
Browse files Browse the repository at this point in the history
This mirror was created to leverage performance optimizations from
mypyc wheels that are available if black is installed from PyPI. These
wheels are not available if black is installed from source as it would
be using the old URL. Please see psf/black#3828 and psf/black#3405 for
more information.

Co-authored-by: Nick <[email protected]>
  • Loading branch information
dav3r and mcdonnnj committed Nov 9, 2023
1 parent e5de9ad commit 6f5c945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ repos:
- id: bandit
name: bandit (everything else)
exclude: tests
- repo: https://github.com/psf/black
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.1.0
hooks:
- id: black
Expand Down

0 comments on commit 6f5c945

Please sign in to comment.