future-annotations-in-stub (PYI044)#
Derived from the flake8-pyi linter.
What it does#
Checks for the presence of the from __future__ import annotations
import
statement in stub files.
Why is this bad?#
Stub files are already evaluated under annotations
semantics. As such,
the from __future__ import annotations
import statement has no effect
and should be omitted.