Skip to content

Emit warning when using mypy on python versions it doesn't support yet #9844

Closed
@velit

Description

@velit

Feature

When specifying a python version mypy doesn't yet fully support, emit a warning about the situation.

Pitch

Mypy 0.790 allows the specification of python 3.9 version without complaint. When using it mypy will complain about list[str] syntax because full 3.9 support is not implemented yet. Emitting a warning will make it clear to the end-user that the software is working as intended and there is no problem in their environment, mypy just doesn't fully support the requested version yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions