dropbox / pyannotate

Auto-generate PEP-484 annotations
Apache License 2.0
1.42k stars 59 forks source link

Fix CI on travis and include Python 3.8-dev #76

Closed bluebird75 closed 6 years ago

bluebird75 commented 6 years ago

This fixes and adds the following points:

gvanrossum commented 6 years ago

So now that I've fixed the error (see #77) can you try to just always use the latest mypy release?

gvanrossum commented 6 years ago

Sorry, the 3.5.1 error is my fault. Can you fix it by changing the import to from mypy_extensions import Type? I think the other test failure is a Travis flake.

bluebird75 commented 6 years ago

I tried but Type does not exist in mypy_extensions

gvanrossum commented 6 years ago

To fix the test, add:

MYPY = False
if MYPY:
    from typing import Type
bluebird75 commented 6 years ago

Finally, this works !

gvanrossum commented 6 years ago

Thanks!