-
Notifications
You must be signed in to change notification settings - Fork 157
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
Housekeeping for 2024-W13 #809
Conversation
Saves 0.8+ seconds start-up time.
This reverts commit c796cc5.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #809 +/- ##
=====================================
Coverage 95.4% 95.4%
=====================================
Files 46 46
Lines 4351 4354 +3
=====================================
+ Hits 4153 4156 +3
Misses 198 198
|
- Remove type checking exclusions. - Proxy calls to ixmp.Scenario.add_{par,set}().
- Remove one exception, add 2 more. - Update FIXME comments on exceptions.
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.
Looks good to me, but one question: in the output of the docs-build, there are numerous warnings referring to genno.core
docstrings. Several methods and documents could not be found. They were not present in the last run of latest, though some errors from there are fixed here. Do you want to fix them here or should this be a new PR?
I think these should perhaps be PRs upstream. This is basically what we tried to solve in khaeru/genno#94 and khaeru/genno#108, and I now have a different idea of how to resolve these issues. Previously (those above PRs) we tried to use the Instead, I think we can change some references like this: … :meth:`.Platform.add_timeslice` Why should that hopefully work?
This will be a little awkward because we basically will need to:
…however, I think would be pretty quick to do in a couple of follow-up PRs. Also not very urgent; can be done closer to the next release. |
How to review
Read the diff and note that the CI checks all pass.
PR checklist
Add or expand tests;coverage checks both ✅Update release notes.No change in functionality.