You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gvanrossum
changed the title
Effect of '# type: ignore' became much more severe after '--warn-unused-ignores'
[BLOCKER] Effect of '# type: ignore' became much more severe after '--warn-unused-ignores'
Jul 19, 2016
It seems like there's some disagreement over the expected behavior of the first test case (testIgnoreImportBadModule) introduced by d379a93 -- if a module is marked as # type: ignore, it should only ignore errors if that module does not exist, and not if there's any error of any kind from within that module.
It seems the introduction of
--warn-unused-ignores
in 4889c0c caused even valid imports to acquire the typeAny
.The text was updated successfully, but these errors were encountered: