https://github.com/quantco/pre-commit-mirrors-mypy
pre-commit hook that mirrors the mypy version for usage with a conda as a pre-commit language
https://github.com/quantco/pre-commit-mirrors-mypy
Last synced: 4 months ago
JSON representation
pre-commit hook that mirrors the mypy version for usage with a conda as a pre-commit language
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-mypy
- Owner: Quantco
- License: bsd-3-clause
- Created: 2020-01-13T08:25:47.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T07:46:11.000Z (5 months ago)
- Last Synced: 2025-02-03T08:33:32.828Z (5 months ago)
- Size: 80.1 KB
- Stars: 0
- Watchers: 13
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# mypy pre-commit hook
pre-commit hook of mypy with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For mypy: see [here](https://github.com/python/mypy)
## Using mypy with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-mypy
rev: '' # Use the sha / tag you want to point at
hooks:
- id: mypy-conda
```