Uh oh!
There was an error while loading. Please reload this page.
Add type hints and docstrings to heap.py - #3013
Conversation
- Add type hints - Add docstrings - Add explanatory comments - Improve code readability - Change to use f-string
MarkHershey
commented
Oct 13, 2020
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
MarkHershey
commented
Nov 22, 2020
This PR still pending approval. |
dhruvmanila
commented
Nov 23, 2020
Please run |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
MarkHershey
commented
Dec 24, 2020
Done checking, no error. |
dhruvmanila
left a comment
There was a problem hiding this comment.
This is looking good! 👍
Please import the type: from typing import Optional
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dhruvmanila
left a comment
There was a problem hiding this comment.
Awesome work! Thanks for your persistence! LGTM! 🎉
* Add type hints and docstrings to heap.py
- Add type hints
- Add docstrings
- Add explanatory comments - Improve code readability
- Change to use f-string
* Fix import sorting
* fixup! Format Python code with psf/black push
* Fix static type error
* Fix failing test
* Fix type hints
* Add return annotation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Add type hints and docstrings to heap.py
- Add type hints
- Add docstrings
- Add explanatory comments - Improve code readability
- Change to use f-string
* Fix import sorting
* fixup! Format Python code with psf/black push
* Fix static type error
* Fix failing test
* Fix type hints
* Add return annotation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Add type hints and docstrings to heap.py
- Add type hints
- Add docstrings
- Add explanatory comments - Improve code readability
- Change to use f-string
* Fix import sorting
* fixup! Format Python code with psf/black push
* Fix static type error
* Fix failing test
* Fix type hints
* Add return annotation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>* Add type hints and docstrings to heap.py
- Add type hints
- Add docstrings
- Add explanatory comments - Improve code readability
- Change to use f-string
* Fix import sorting
* fixup! Format Python code with psf/black push
* Fix static type error
* Fix failing test
* Fix type hints
* Add return annotation
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Changes:
Checklist:
Fixes: #{$ISSUE_NO}.