-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Remove type comments #1710
Remove type comments #1710
Conversation
Signed-off-by: Achal Shah <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1710 +/- ##
===========================================
- Coverage 82.75% 69.73% -13.02%
===========================================
Files 76 74 -2
Lines 6754 6664 -90
===========================================
- Hits 5589 4647 -942
- Misses 1165 2017 +852
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
Signed-off-by: Achal Shah <[email protected]>
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Signed-off-by: Achal Shah <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, felixwang9817, tsotnet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Remove type comments Signed-off-by: Achal Shah <[email protected]> * Remove more type comments Signed-off-by: Achal Shah <[email protected]> * fix lint Signed-off-by: Achal Shah <[email protected]> * fix lint again by removing imports Signed-off-by: Achal Shah <[email protected]> * Use time_ns() instead of time() Signed-off-by: Achal Shah <[email protected]> Signed-off-by: CS <[email protected]>
Signed-off-by: Achal Shah [email protected]
What this PR does / why we need it:
Type comments are no longer needed given that we support 3.7+. Also, they break mypy as of python 3.9. This PR removes all the instances of
type: Blah
from the codebase.Which issue(s) this PR fixes:
(Too small for issue)
Does this PR introduce a user-facing change?: