rework some upstream changex to work with ruff #37
Annotations
10 errors
|
Ruff (D417):
growattServer/base_api.py#L1390
growattServer/base_api.py:1390:9: D417 Missing argument descriptions in the docstring for `update_classic_inverter_setting`: `default_parameters`, `parameters`
|
|
Ruff (ANN201):
growattServer/base_api.py#L1390
growattServer/base_api.py:1390:9: ANN201 Missing return type annotation for public function `update_classic_inverter_setting`
|
|
Ruff (RET504):
growattServer/base_api.py#L792
growattServer/base_api.py:792:16: RET504 Unnecessary assignment to `data` before `return` statement
|
|
Ruff (F821):
growattServer/base_api.py#L791
growattServer/base_api.py:791:16: F821 Undefined name `json`
|
|
Ruff (D415):
growattServer/base_api.py#L778
growattServer/base_api.py:778:9: D415 First line should end with a period, question mark, or exclamation point
|
|
Ruff (D401):
growattServer/base_api.py#L778
growattServer/base_api.py:778:9: D401 First line of docstring should be in imperative mood: "Gets the inverter settings related to battery modes"
|
|
Ruff (D400):
growattServer/base_api.py#L778
growattServer/base_api.py:778:9: D400 First line should end with a period
|
|
Ruff (D205):
growattServer/base_api.py#L778
growattServer/base_api.py:778:9: D205 1 blank line required between summary line and description
|
|
Ruff (ANN001):
growattServer/base_api.py#L777
growattServer/base_api.py:777:41: ANN001 Missing type annotation for function argument `serial_number`
|
|
Ruff (ANN201):
growattServer/base_api.py#L777
growattServer/base_api.py:777:9: ANN201 Missing return type annotation for public function `get_mix_inverter_settings`
|