Closes #15. We set --follow-imports=silent when we call the CLI, which generally prevents type-checking 3rd party dependencies. When 3rd party dependencies contain typings in .pyi files, we also need to set follow_imports_for_stubs = True.
Summary
Set reasonable defaults in the (mandatory if not otherwise provided) default_mypy.ini file. Update the README to clarify that the contents of mypy.ini should contain some instructions around following imports.
Issue
Closes #15. We set
--follow-imports=silent
when we call the CLI, which generally prevents type-checking 3rd party dependencies. When 3rd party dependencies contain typings in .pyi files, we also need to setfollow_imports_for_stubs = True
.Summary
Set reasonable defaults in the (mandatory if not otherwise provided)
default_mypy.ini
file. Update the README to clarify that the contents of mypy.ini should contain some instructions around following imports.