DFRobot / uPyCraft_src

137 stars 82 forks source link

syntaxcheck hangs on "async def" #17

Open Kortenbach opened 5 years ago

Kortenbach commented 5 years ago

The syntaxcheck feature in uPycraft is very nice, but as soon as it hits something it doesn't understand (like "async def" I can't check any code past that point.

`*TinyWebTest.py:15:5: invalid syntax
async def index(req, resp):
    ^
syntax finish.`

How can I fix this?