style: apply Black formatting - #5
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Applies Black formatting across selected Python source and test files without changing runtime behavior.
Changes:
- Reformats long function signatures, imports, list literals, and conditional expressions.
- Keeps implementation and test logic unchanged.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/services/grid_interface.py |
Reformats submit_dispatch_schedule signature. |
src/core/derms_engine.py |
Reformats get_resource_status signature. |
scripts/run_simulation.py |
Reformats inline conditional expression for synthetic resource state of charge. |
tests/unit/test_forecaster.py |
Reformats import block and timestamp list comprehension. |
tests/unit/test_optimizer.py |
Reformats helper signature and resource list literal. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Closed
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Ayiemba Rodgers <aurexcv@gmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Apply Black code formatter across all Python source files.
Changes
5 files reformatted:
src/services/grid_interface.pyscripts/run_simulation.pysrc/core/derms_engine.pytests/unit/test_forecaster.pytests/unit/test_optimizer.py21 files left unchanged.
Notes
.ipynb) skipped (Jupyter extra not installed)developper branching strategy