Skip to content

Pytest-mypy treats mypy annotation-unchecked warning as error #145

Closed
@nidico

Description

@nidico

Since mypy 0.990, mypy emits a warning if a variable is annotated in a function without type annotation, see mypy 0.990 release notes.

Such a warning ends up being reported as a test failure in pytest-mypy, erroneously.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions