-
Notifications
You must be signed in to change notification settings - Fork 111
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
Typing: Add typehinting for Rod
modules
#341
Conversation
@ankith26 I allowed the |
@armantekinalp Since we are bumping up to |
@ankith26 if you are still interested in this issue can you resolve the conflicts please. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## update/mypy #341 +/- ##
==============================================
Coverage ? 87.80%
==============================================
Files ? 43
Lines ? 2943
Branches ? 341
==============================================
Hits ? 2584
Misses ? 335
Partials ? 24 ☔ View full report in Codecov by Sentry. |
I have force pushed with the conflicts fixed. The conflicts were mainly due to the fact that I was adding type hints to the functions that were being deprecated in the |
@ankith26 thanks. Can you also see why the CI builds fail? |
While resolving the conflicts I forgot to remove an import that is now unneeded. I have removed that import to fix the fail, and also made sure |
@ankith26 Hi -- I added Thank you again for your contribution. If you can finish typehinting for |
Rod
modules
Sure I'd like to work on this this |
Rod
modulesRod
modules
Update: I couldn't do much on this PR in the past week due to being busy with other commitments, but I plan to get this PR done from my side in the coming week. |
@ankith26 no worries, also please see the other open PRs related to mypy. That could be useful for you. |
7afa435
to
53db1bc
Compare
A couple of notes
Any suggestions on how to deal with above issues? |
I have implemented a workaround for the float issue. In |
In this PR, please just use
The function should be typed as if they are just |
I have done some more incremental progress, and have removed the |
89bfbc4
to
ebf3a61
Compare
Lets keep in draft until it is ready. Since it burns CI hours for every new commit |
This PR is nearing completion. Though there are a couple of issues that I don't know how to resolve.
|
Thank you for your hard work. There are some inconsistency because the original code was only developed for To answer your question:
Same as above. We'll have
Don't worry about it for now.
There are some boundary condition implementations that do not use
Use
The protocol for
You don't need to worry about it, it will be included in |
This PR is now done from my side, it is ready for review. |
Looks good. One minor change, and we can probably merge. |
Co-authored-by: Seung Hyun Kim <[email protected]>
I had added that bit to fix some mypy issues, but didn't realise it broke the unit tests. I have reverted that change, as suggested. |
This PR does some initial work on #255
This is a WIP, and I've opened this PR to get some feedback, before I go ahead and look into more modules.