Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

pre-commit hook that mirrors the mypy version for usage with a conda as a pre-commit language

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
```