Closed
Description
This extension improves on the default behaviour of the main Python extension's handling of mypy
in terms of the options it passes, however it appears to silently pass --follow-imports=skip
. This causes all imports to be replaced by Any
, in turn substantially limiting the usefulness of the type checking by causing both:
- spurious errors when used in combination with
warn_return_any
(possibly other cases too), and - true errors to be missed, since any types imported (even from within the same project) are considered as
Any
and thus fully compatible with any other type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment