Skip to content

Merge branch 'master' of github.com:bramstroker/homeassistant-powercalc #369

Merge branch 'master' of github.com:bramstroker/homeassistant-powercalc

Merge branch 'master' of github.com:bramstroker/homeassistant-powercalc #369

Triggered via push May 7, 2023 06:56
Status Failure
Total duration 1m 21s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Ruff (INP001): .github/scripts/supported_models/generate_file.py#L1
.github/scripts/supported_models/generate_file.py:1:1: INP001 File `.github/scripts/supported_models/generate_file.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (COM812): .github/scripts/supported_models/generate_file.py#L14
.github/scripts/supported_models/generate_file.py:14:80: COM812 Trailing comma missing
Ruff (ANN201): .github/scripts/supported_models/generate_file.py#L30
.github/scripts/supported_models/generate_file.py:30:5: ANN201 Missing return type annotation for public function `generate_supported_model_list`
Ruff (SIM115): .github/scripts/supported_models/generate_file.py#L76
.github/scripts/supported_models/generate_file.py:76:15: SIM115 Use context handler for opening files
Ruff (T201): .github/scripts/supported_models/generate_file.py#L80
.github/scripts/supported_models/generate_file.py:80:5: T201 `print` found
Ruff (COM812): .github/scripts/supported_models/generate_file.py#L93
.github/scripts/supported_models/generate_file.py:93:70: COM812 Trailing comma missing
Ruff (T201): .github/scripts/supported_models/generate_file.py#L97
.github/scripts/supported_models/generate_file.py:97:5: T201 `print` found
Ruff (COM812): .github/scripts/supported_models/generate_file.py#L116
.github/scripts/supported_models/generate_file.py:116:18: COM812 Trailing comma missing
Ruff (INP001): .github/scripts/update_hacs_manifest.py#L1
.github/scripts/update_hacs_manifest.py:1:1: INP001 File `.github/scripts/update_hacs_manifest.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (ANN201): .github/scripts/update_hacs_manifest.py#L7
.github/scripts/update_hacs_manifest.py:7:5: ANN201 Missing return type annotation for public function `update_manifest`
mypy
Process completed with exit code 1.