unannotated-assignment-in-stub (PYI052)
Added in v0.0.269 · Related issues · View source
Derived from the flake8-pyi linter.
What it does
Checks for unannotated assignments in stub (.pyi) files.
Why is this bad?
Stub files exist to provide type hints, and are never executed. As such, all assignments in stub files should be annotated with a type.