Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quantco/pre-commit-mirrors-black
pre-commit hook that mirrors the black version for usage with conda as pre-commit language
https://github.com/quantco/pre-commit-mirrors-black
Last synced: about 2 months ago
JSON representation
pre-commit hook that mirrors the black version for usage with conda as pre-commit language
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-black
- Owner: Quantco
- License: bsd-3-clause
- Created: 2019-12-02T10:07:49.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T06:10:06.000Z (8 months ago)
- Last Synced: 2024-04-29T02:08:12.579Z (8 months ago)
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 17
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# black pre-commit hook
pre-commit hook of black with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For black: see [here](https://github.com/psf/black)
## Using black with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-black
rev: '' # Use the sha / tag you want to point at
hooks:
- id: black-conda
```