$ errors.fyi/mypy/var-annotated 163 namespaces · 4,919 codes
mypy · mypy/var-annotated
var-annotated

Variable Needs Type Annotation

mypy cannot infer the type of a variable from its context and requires an explicit annotation. Add a type annotation such as x: list[int] = [].

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT