Skip to content

formatting for older files #22

formatting for older files

formatting for older files #22

Triggered via push January 5, 2026 14:27
Status Failure
Total duration 22s
Artifacts

ruff.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (DTZ005): growattServer/base_api.py#L73
growattServer/base_api.py:73:20: DTZ005 `datetime.datetime.now()` called without a `tz` argument
Ruff (S101): growattServer/base_api.py#L70
growattServer/base_api.py:70:13: S101 Use of `assert` detected
Ruff (ANN001): growattServer/base_api.py#L68
growattServer/base_api.py:68:48: ANN001 Missing type annotation for function argument `date`
Ruff (ANN001): growattServer/base_api.py#L68
growattServer/base_api.py:68:33: ANN001 Missing type annotation for function argument `timespan`
Ruff (ANN202): growattServer/base_api.py#L68
growattServer/base_api.py:68:9: ANN202 Missing return type annotation for private function `__get_date_string`
Ruff (ARG005): growattServer/base_api.py#L62
growattServer/base_api.py:62:51: ARG005 Unused lambda argument: `kwargs`
Ruff (ARG005): growattServer/base_api.py#L62
growattServer/base_api.py:62:43: ARG005 Unused lambda argument: `args`
Ruff (S311): growattServer/base_api.py#L57
growattServer/base_api.py:57:41: S311 Standard pseudo-random generators are not suitable for cryptographic purposes
Ruff (E501): growattServer/base_api.py#L55
growattServer/base_api.py:55:89: E501 Line too long (97 > 88)
Ruff (E711): growattServer/base_api.py#L52
growattServer/base_api.py:52:32: E711 Comparison to `None` should be `cond is not None`