Skip to content

style: apply Black formatting - #5

Merged
AUREX-ML merged 3 commits into
developfrom
style/black-formatting
May 14, 2026
Merged

style: apply Black formatting#5
AUREX-ML merged 3 commits into
developfrom
style/black-formatting

Conversation

@AUREX-ML

Copy link
Copy Markdown
Owner

Summary

Apply Black code formatter across all Python source files.

Changes

5 files reformatted:

  • src/services/grid_interface.py
  • scripts/run_simulation.py
  • src/core/derms_engine.py
  • tests/unit/test_forecaster.py
  • tests/unit/test_optimizer.py

21 files left unchanged.

Notes

  • Black v26.3.1 used
  • Notebook files (.ipynb) skipped (Jupyter extra not installed)
  • Targets develop per branching strategy

Copilot AI review requested due to automatic review settings May 14, 2026 13:48
Comment thread tests/unit/test_forecaster.py Fixed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@AUREX-ML AUREX-ML mentioned this pull request May 14, 2026
Closed
AUREX-ML and others added 2 commits May 14, 2026 20:26
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>
@AUREX-ML
AUREX-ML merged commit 147d3cd into develop May 14, 2026
3 of 6 checks passed
@AUREX-ML
AUREX-ML deleted the style/black-formatting branch May 14, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants