-
Notifications
You must be signed in to change notification settings - Fork 65
Refactoring repo and restructuring temoa initialize and rules #158
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
Merged
ParticularlyPythonicBS
merged 24 commits into
temoa_davey_code
from
feature/restructure_to_components
Oct 10, 2025
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bf3346d
setting up new directory structure for clear public vs intermal api …
ParticularlyPythonicBS f371420
removing star imports from model.py, more work is needed to tame thi…
ParticularlyPythonicBS c30d544
small taming of the model file, considering moving to a component fo…
ParticularlyPythonicBS 2dc439c
adding placeholder files for component structure
ParticularlyPythonicBS 1b42d77
distributing temoa_initialize into components
ParticularlyPythonicBS 927e047
distributing temoa_rules into components
ParticularlyPythonicBS ff6e71f
fixing linting errors in _internal
ParticularlyPythonicBS 08448e8
fixing linting errors in components
ParticularlyPythonicBS 5eb0b3d
splitting up CreateSparseDicts, storing the chunks in precompute for…
ParticularlyPythonicBS eea8271
moving the chunked from precompute to the component files
ParticularlyPythonicBS e3ab9bb
cleaning up capacity.py
ParticularlyPythonicBS eb71312
cleaning up commodities.py
ParticularlyPythonicBS 6ade404
cleaning up costs.py
ParticularlyPythonicBS d7f69b4
cleaning up emissions.py
ParticularlyPythonicBS 6c0185b
cleaning up flows.py
ParticularlyPythonicBS 53462dd
cleaning up geography.py
ParticularlyPythonicBS f4c1125
cleaning up limits.py
ParticularlyPythonicBS 53353a2
cleaning up operations and merging ramping into it
ParticularlyPythonicBS 1a7d3bf
cleaning up reserves.py
ParticularlyPythonicBS 3babdbe
cleaning up storage.py
ParticularlyPythonicBS 93ed924
cleaning up technology.py
ParticularlyPythonicBS ec5aac5
cleaning up time.py
ParticularlyPythonicBS 084077e
cleaning up utils.py
ParticularlyPythonicBS 8b8f663
updated backwards compat temoa_model to not used temoa_rules or init…
ParticularlyPythonicBS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
small taming of the model file, considering moving to a component fo…
…rmalism instead of the type structure used
- Loading branch information
commit c30d54470c79925f4c388209489480896f89db8e
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧹 Nitpick | 🔵 Trivial
Good addition of public API surface declaration.
The
__all__export list clearly defines the public API for this module, which improves discoverability and helps prevent accidental imports of internal functions.Consider sorting the
__all__list alphabetically for consistency, as suggested by the static analysis tool:🧰 Tools
🪛 Ruff (0.13.3)
45-54:
__all__is not sortedApply an isort-style sorting to
__all__(RUF022)
🤖 Prompt for AI Agents