Update dependencies #198
validate.yaml
on: pull_request
Hassfest validation
15s
HACS validation
33s
Ruff validation
8s
Manifest requirements validation
5s
Unit testing
57s
Annotations
10 errors and 2 warnings
|
Ruff (RUF012):
custom_components/zaptec/update.py#L33
custom_components/zaptec/update.py:33:23: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
Ruff (UP043):
custom_components/zaptec/services.py#L130
custom_components/zaptec/services.py:130:10: UP043 Unnecessary default type arguments
|
|
Ruff (C901):
custom_components/zaptec/services.py#L119
custom_components/zaptec/services.py:119:11: C901 `async_setup_services` is too complex (50 > 25)
|
|
Ruff (RUF012):
custom_components/zaptec/sensor.py#L103
custom_components/zaptec/sensor.py:103:23: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
|
Ruff (PERF401):
custom_components/zaptec/diagnostics.py#L113
custom_components/zaptec/diagnostics.py:113:21: PERF401 Use `list.extend` to create a transformed list
|
|
Ruff (ANN001):
custom_components/zaptec/diagnostics.py#L99
custom_components/zaptec/diagnostics.py:99:27: ANN001 Missing type annotation for function argument `ctx`
|
|
Ruff (ANN001):
custom_components/zaptec/diagnostics.py#L99
custom_components/zaptec/diagnostics.py:99:22: ANN001 Missing type annotation for function argument `obj`
|
|
Ruff (ANN001):
custom_components/zaptec/diagnostics.py#L99
custom_components/zaptec/diagnostics.py:99:17: ANN001 Missing type annotation for function argument `url`
|
|
Ruff (TRY300):
custom_components/zaptec/diagnostics.py#L91
custom_components/zaptec/diagnostics.py:91:17: TRY300 Consider moving this statement to an `else` block
|
|
Ruff (E501):
custom_components/zaptec/diagnostics.py#L89
custom_components/zaptec/diagnostics.py:89:99: E501 Line too long (105 > 98)
|
|
Ruff validation
Could not parse version from pyproject.toml. Using latest version.
|
|
Ruff validation
Could not parse version from pyproject.toml. Using latest version.
|