Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid type annotation #22

Open
wj-Mcat opened this issue Mar 15, 2020 · 1 comment
Open

Invalid type annotation #22

wj-Mcat opened this issue Mar 15, 2020 · 1 comment

Comments

@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Mar 15, 2020

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.

@fish-ball
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants