You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ghstack/github_fake.py:1: error: Cannot find module named 'graphql'
ghstack/github_fake.py:1: note: See https://mypy.readthedocs.io/en/latest/running_mypy.html#missing-imports
Now, I know that you guys have types... but the mypy docs seem to suggest that you need to do something extra to get mypy to treat the third party package as having types?
As a temporary workaround, I've symlinked graphql in my local directory to graphql-core-next/graphql and that convinces mypy to check the ytpes.
The text was updated successfully, but these errors were encountered:
How exactly did you call mypy? Note that the mypy command line tool expects a module file or folder name on the file system, not the name of an installed package.
Oh, ok, now I understand. Yes, I believe you're right, there should be such an (empty) file as a marker. Will add this to the next version. Need to rethink the packaging anyway (#22).
When I attempt to run mypy, I get:
Now, I know that you guys have types... but the mypy docs seem to suggest that you need to do something extra to get mypy to treat the third party package as having types?
As a temporary workaround, I've symlinked
graphql
in my local directory to graphql-core-next/graphql and that convinces mypy to check the ytpes.The text was updated successfully, but these errors were encountered: