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

[Monitor][Query] Improve typing #28175

Merged
merged 4 commits into from
Jan 11, 2023
Merged

[Monitor][Query] Improve typing #28175

merged 4 commits into from
Jan 11, 2023

Conversation

pvaneck
Copy link
Member

@pvaneck pvaneck commented Jan 5, 2023

This enables the mypy, pyright, and verifytypes checks in the CI, and also adds some typing improvements in order to pass the checks.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-monitor-query

@pvaneck pvaneck marked this pull request as ready for review January 5, 2023 08:46
@pvaneck pvaneck requested a review from kristapratico January 6, 2023 21:27
This enables the mypy and verifytypes checks in the CI, and also
adds some typing improvements in order to pass the mypy check.

Signed-off-by: Paul Van Eck <[email protected]>
* Use class attribute style typing
* Class ordering in models file was changed a bit to allow
  for class attribute typing.
* Enable pyright check and fix corresponding errors

Signed-off-by: Paul Van Eck <[email protected]>
Signed-off-by: Paul Van Eck <[email protected]>
@pvaneck pvaneck merged commit 83fca5e into Azure:main Jan 11, 2023
@pvaneck pvaneck deleted the logs-error-typing branch January 11, 2023 03:18
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

Successfully merging this pull request may close these issues.

3 participants