-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Track 2 SDKs should support PEP561 to enable mypy for customers #9572
Labels
Client
This issue points to a problem in the data-plane of the library.
Milestone
Comments
Fixed azure.core in #9577 |
This was referenced Jun 9, 2020
Just checked - text analytics, form recognizer, metrics advisor, and document translation have py.typed files |
This was referenced Apr 26, 2021
Tables has a py.typed. Container Registry and AppConfiguration do not. |
This was referenced Apr 26, 2021
Identity doesn't have one: #18325 |
This was referenced Apr 27, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I just discovered that if a package is shipped using typing in comments annotation, it's actually ignored by mypy when used on a client code:
To enable that scenario, we need to put a "py.typed" empty file at the root of the namespace, and mypy will then scan for comments annotations. The previous run now becomes:
Reference:
The text was updated successfully, but these errors were encountered: