Skip to content

fix: ruff formatting in sunsynk/definitions/__init__.py - #664

Merged
kellerza merged 1 commit into
mainfrom
copilot/sunsynkdefinitionsinit-formatting
Aug 4, 2026
Merged

fix: ruff formatting in sunsynk/definitions/__init__.py#664
kellerza merged 1 commit into
mainfrom
copilot/sunsynkdefinitionsinit-formatting

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Single space before inline comment on line 36 violates ruff's two-space requirement, causing ruff format to fail.

  • src/sunsynk/definitions/__init__.py: Add missing space before # comment on the 0x500 device-type entry
-            0x500: "Low-voltage three-phase hybrid 10kW", # SUN-10K-SG05LP3-EU-SM2
+            0x500: "Low-voltage three-phase hybrid 10kW",  # SUN-10K-SG05LP3-EU-SM2

…__init__.py

Co-authored-by: kellerza <6756881+kellerza@users.noreply.github.com>
@kellerza
kellerza marked this pull request as ready for review August 4, 2026 06:24
@kellerza
kellerza merged commit a542ad6 into main Aug 4, 2026
25 of 26 checks passed
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