-
Notifications
You must be signed in to change notification settings - Fork 4
ENH: Add type hints across miscellaneous methods #68
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
Conversation
79645c3
to
5f399c3
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #68 +/- ##
==========================================
+ Coverage 68.75% 68.78% +0.03%
==========================================
Files 20 20
Lines 957 958 +1
Branches 121 121
==========================================
+ Hits 658 659 +1
Misses 254 254
Partials 45 45 ☔ View full report in Codecov by Sentry. |
4bddb5a
to
2228520
Compare
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.
Minor nit pick
Add type hints across miscellaneous methods. Co-authored-by: Chris Markiewicz <[email protected]>
5e697ae
to
622101f
Compare
Prefer specifying b-values as `float` types consistently and avoid using `numbers.Number` which seems to be problematic for type checking with `mypy`: python/mypy#3186 Co-authored-by: Chris Markiewicz <[email protected]> Co-authored-by: Oscar Esteban <[email protected]>
Prefer building an array with `None` to fill `S0` if `S0` is `None` instead of a list to increase consistency. Co-authored-by: Chris Markiewicz <[email protected]>
622101f
to
f005b7e
Compare
None
to fillS0