dropbox / pyannotate

Auto-generate PEP-484 annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mypy 0.620 signals an error on pyannotate

bluebird75 opened this issue · comments

Using latest mypy 0.620 run on pyannotate triggers the following errors :

pyannotate_runtime/collect_types.py:375: error: The type alias is invalid in runtime context
pyannotate_runtime/collect_types.py:379: error: The type alias is invalid in runtime context
pyannotate_runtime/collect_types.py:380: error: The type alias is invalid in runtime context

See : https://travis-ci.org/dropbox/pyannotate/jobs/420859849

This is above my level of understanding of static type usage.