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 1 year 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T07:46:35.000Z (over 1 year ago)
- Last Synced: 2025-02-03T08:33:38.206Z (over 1 year ago)
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 19
- 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
```