python-wechaty
python-wechaty copied to clipboard
Invalid type annotation
When I clone the code from master branch, Invalid type annotation occures.
File "/Users/wujingwujing/Downloads/temp/python-wechaty/src/wechaty/types.py", line 43, in Sayable: Invalid type annotation '<instance of module>' for return [invalid-annotation]
Not a type
File "/Users/wujingwujing/Downloads/temp/python-wechaty/src/wechaty/types.py", line 43, in Sayable: Invalid type annotation '<instance of module>'
Not a type [invalid-annotation]
Not a type
File "/Users/wujingwujing/Downloads/temp/python-wechaty/src/wechaty/types.py", line 43, in Sayable: Invalid type annotation '<instance of module>' for reply_to [invalid-annotation]
Not a type
For more details, see https://google.github.io/pytype/errors.html#invalid-annotation.
ninja: build stopped: subcommand failed
But this error don't occure at github action.
I did not see the above information when I clone the repo, with:
git clone https://github.com/wechaty/python-wechaty
So is the problem still exist? Or how to reproduce the case?