KO
|
EN
gitlite — search
Search
#python
#reactjs
#react
#javascript
#hacktoberfest
#php
#nextjs
#golang
#html
#go
#laravel
#vuejs
black-pre-commit-mirror
★ 50
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
wanou
:
No description available.
2023
:
PSConfEU 2023 files & sessions
Neuro-Symbolic-AI
:
Neuro-Symbolic AI, published by Packt
awesome-segment-anything-medical-images
:
awesome-SAM-Medical-Images
launch.nvim
:
:rocket: A task launcher plugin for neovim allowing dynamic task configuration per directory, with optional support for debugging
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
black-pre-commit-mirror
?
Download (.md)
# black-pre-commit-mirror Using this repository in your pre-commit config makes Black twice as fast. ## Explanation pre-commit installs hooks by cloning the repo you specify and installing from source, as opposed to installing Black from [PyPI][1]. However, Black uploads [mypyc][2]-accelerated extension modules to PyPI that make Black about twice as fast. Using this mirror in the repo field of your pre-commit config instead of https://github.com/psf/black tricks pre-commit into installing these prebuilt accelerated wheels instead, where possible. The trick is very simple: just declare Black as a dependency of this fake black-pre-commit-mirror project. While pre-commit will install black-pre-commit-mirror from source, it will still install its dependencies from PyPI. ## More For example `pre-commit` configs, please see the [Black VCS integration docs][3] [1]: https://pypi.org [2]: https://mypyc.readthedocs.io/en/latest/index.html [3]: https://black.readthedocs.io/en/stable/integrations/source_version_control.html