Closed as not planned
Description
Feature
Add a pre-commit hook to mypy (see mirrors-mypy/.pre-commit-hooks.yaml).
The only major roadblock is building it using mypyc, but that could use mypy_mypyc-wheels.
Pitch
Currently, to use mypy as a pre-commit hook, you need to use mirrors-mypy. It works fine, the only problem is you're not able to use arbitrary commits or branches (including master
), just versions released on PyPI. If mypy were to add pre-commit hooks to the repo itself, it would be possible.
Also see pre-commit/mirrors-mypy#80