Skip to content

Bug with type: ignore comment on import and incremental #2308

@refi64

Description

@refi64

Still trying to get a test case. However, for now, I'll post the interesting parts:

  • In errors.py, I have code like this:
import colorama  # type: ignore

For some reason, the cache for this file at some point didn't add colorama to the suppressed section, so the import started being an error.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions