Skip to content

Allow using # type: ignore to skip type checking in a file #626

Closed
@JukkaL

Description

@JukkaL

As per PEP 484 discussion, it should be possible to use # type: ignore to skip type checking in the rest of a file:

# type: ignore
... # ignore type errors here

Currently the comment can only be used to ignore errors on individual lines.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions