mypy vs pre-commit mypy
Closed this issue · 2 comments
mikegerber commented
I get error with pre-commit's mypy, but not with the local mypy. Why?
mikegerber commented
mypy src
vs
pre-commit run -a mypy
mikegerber commented
The hook runs in an isolated environment, adding dependencies in .pre-commit-config.yaml
fixes this.