How to use Spacy 3.0.0 type hints with mypy #7447
mscheifer
started this conversation in
Help: Best practices
Replies: 2 comments 1 reply
-
Hmm, it looks like we're just missing |
Beta Was this translation helpful? Give feedback.
1 reply
-
This is working fine with 3.0.6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The release notes for spacy 3.0.0 say that it now supports type hints:
We check types in our builds with mypy. When I try to run it while importing spacy I get this error:
Skipping analyzing 'spacy': found module but no type hints or library stubs
. After digging around I can't seem to find 1. apy.typed
file in the spacy project. 2. A separate stubs package or 3. A stub entry intypeshed
.What's the intended way to make use of the type hints included in v3.0 ?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions