Remove --ignore-missing-imports
flag from mypy pre-commit hook
#103
Labels
improvement
This issue or pull request will add or improve functionality, maintainability, or ease of use
💡 Summary
Remove the
--ignore-missing-imports
flag from ourmypy
pre-commit
hook.Motivation and context
The
mypy
pre-commit
hook that we use includes the--ignore-missing-imports
flag by default, but we want to override that behavior. This will give us bettermypy
analysis and force us to document where type stubs are unavailable/missing.For more context, see this discussion.
Implementation notes
Don't forget to put a helpful comment in the
.pre-commit-config.yaml
section explaining why we are adding this (or something like it):Acceptance criteria
mypy
pre-commit
hook no longer includes the--ignore-missing-imports
flagThe text was updated successfully, but these errors were encountered: