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
{{ message }}
Repository navigation
Bug with type: ignore comment on import and incremental #2308
Activity
gvanrossum commentedon Oct 24, 2016
Hm, interesting. @Michael0x2a might have some insights.
refi64 commentedon Oct 24, 2016
Create the following files:
x.py:y.py:Now, watch the following commands:
refi64 commentedon Oct 24, 2016
Workaround to avoid having to clear the entire cache:
rm .mypy_cache/*/y.*.json, replacingywith the module that had thetype: ignorecomment.gvanrossum commentedon Oct 25, 2016
refi64 commentedon Oct 25, 2016
Well, I actually just realized that a much, much better workaround is to just do
touch y.py... I don't know why I didn't think of that before...gvanrossum commentedon Oct 25, 2016
gvanrossum commentedon Mar 24, 2017
Is this still reproducible?
refi64 commentedon Mar 27, 2017
@gvanrossum Yup.
Fix python#2308: Keep suppressed imports in the suppressed list