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