ruff fixes #24
Annotations
10 errors
|
Ruff (E501):
growattServer/base_api.py#L211
growattServer/base_api.py:211:89: E501 Line too long (126 > 88)
|
|
Ruff (ANN001):
growattServer/base_api.py#L205
growattServer/base_api.py:205:48: ANN001 Missing type annotation for function argument `date`
|
|
Ruff (ANN001):
growattServer/base_api.py#L205
growattServer/base_api.py:205:38: ANN001 Missing type annotation for function argument `timespan`
|
|
Ruff (ANN001):
growattServer/base_api.py#L205
growattServer/base_api.py:205:28: ANN001 Missing type annotation for function argument `plant_id`
|
|
Ruff (ANN201):
growattServer/base_api.py#L205
growattServer/base_api.py:205:9: ANN201 Missing return type annotation for public function `plant_detail`
|
|
Ruff (D401):
growattServer/base_api.py#L194
growattServer/base_api.py:194:9: D401 First line of docstring should be in imperative mood: "Fetches energy overview for a plant."
|
|
Ruff (D205):
growattServer/base_api.py#L194
growattServer/base_api.py:194:9: D205 1 blank line required between summary line and description
|
|
Ruff (ARG002):
growattServer/base_api.py#L193
growattServer/base_api.py:193:37: ARG002 Unused method argument: `plant_id`
|
|
Ruff (ANN001):
growattServer/base_api.py#L171
growattServer/base_api.py:171:26: ANN001 Missing type annotation for function argument `user_id`
|
|
Ruff (ANN201):
growattServer/base_api.py#L171
growattServer/base_api.py:171:9: ANN201 Missing return type annotation for public function `plant_list`
|