Skip to content

reformat for long lines #32

reformat for long lines

reformat for long lines #32

Triggered via push January 5, 2026 15:41
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (PTH123): setup.py#L4
setup.py:4:6: PTH123 `open()` should be replaced by `Path.open()`
Ruff (F401): setup.py#L2
setup.py:2:8: F401 `os` imported but unused
Ruff (I001): setup.py#L1
setup.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (D100): setup.py#L1
setup.py:1:1: D100 Missing docstring in public module
Ruff (EXE002): setup.py#L1
setup.py:1:1: EXE002 The file is executable but no shebang is present
Ruff (F821): growattServer/open_api_v1.py#L1780
growattServer/open_api_v1.py:1780:65: F821 Undefined name `MixAcChargeTimeParams`
Ruff (F821): growattServer/open_api_v1.py#L1780
growattServer/open_api_v1.py:1780:38: F821 Undefined name `MixAcDischargeTimeParams`
Ruff (F821): growattServer/open_api_v1.py#L1780
growattServer/open_api_v1.py:1780:18: F821 Undefined name `TimeSegmentParams`
Ruff (PLR0915): growattServer/open_api_v1.py#L1564
growattServer/open_api_v1.py:1564:9: PLR0915 Too many statements (54 > 50)
Ruff (N806): growattServer/open_api_v1.py#L1129
growattServer/open_api_v1.py:1129:17: N806 Variable `MAX_PARAMS` in function should be lowercase