Skip to content

Fix PEP8 whitespace: remove extra spaces in parentheses#279

Merged
MaStr merged 2 commits intoissue-275from
copilot/sub-pr-278
Feb 25, 2026
Merged

Fix PEP8 whitespace: remove extra spaces in parentheses#279
MaStr merged 2 commits intoissue-275from
copilot/sub-pr-278

Conversation

Copy link
Contributor

Copilot AI commented Feb 25, 2026

Trailing spaces inside parentheses in default.py violated PEP8/autopep8 rules.

Change

# Before
higher_price_slots.append(slot  )

# After
higher_price_slots.append(slot)

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix default logic log messages based on review feedback Fix PEP8 whitespace: remove extra spaces in parentheses Feb 25, 2026
Copilot AI requested a review from MaStr February 25, 2026 11:02
@MaStr MaStr marked this pull request as ready for review February 25, 2026 11:27
@MaStr MaStr merged commit 3b7694d into issue-275 Feb 25, 2026
@MaStr MaStr deleted the copilot/sub-pr-278 branch February 25, 2026 11:27
MaStr added a commit that referenced this pull request Feb 25, 2026
* Fixing wrong debug msg: "hour"

Changeing logic messages from hour to "slots". Adding a message to show interval at the beginning of evaluation

* Changing more messages hours -> slots

* Update docstring to replace "high price hours" with "high price slots"

* Get rid of excessive recharge below threshold mesage

* Fix refactor mistake

* Update src/batcontrol/logic/default.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/batcontrol/logic/default.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/batcontrol/logic/default.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/batcontrol/logic/default.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix PEP8 whitespace: remove extra spaces in parentheses (#279)

* Initial plan

* Fix PEP8 whitespace: remove extra spaces in append(slot) call

Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>

* Fix slot boundary alignment for evaluation window end-time log (#280)

* Initial plan

* Fix last_time calculation to align to slot boundary

Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>

* Add feedback

* Use singal slot in loop over plural form

* Update src/batcontrol/core.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove entry message on run()

* Some other cleanups and formatting issues

* Review Feedack added

* Review feedback

* Update src/batcontrol/logic/common.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MaStr <1036501+MaStr@users.noreply.github.com>
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.

2 participants