Skip to content

Rename tests.yaml to linting.yaml and update workflow #8

Rename tests.yaml to linting.yaml and update workflow

Rename tests.yaml to linting.yaml and update workflow #8

Triggered via pull request February 28, 2025 04:53
Status Failure
Total duration 34s
Artifacts

linting.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
codespell
Process completed with exit code 1.
Ruff (PGH004): pyhilo/__init__.py#L3
pyhilo/__init__.py:3:29: PGH004 Use specific rule codes when using `noqa`
Ruff (PGH004): pyhilo/__init__.py#L4
pyhilo/__init__.py:4:37: PGH004 Use specific rule codes when using `noqa`
Ruff (D100): pyhilo/api.py#L1
pyhilo/api.py:1:1: D100 Missing docstring in public module
Ruff (TC002): pyhilo/api.py#L13
pyhilo/api.py:13:21: TC002 Move third-party import `aiohttp.ClientSession` into a type-checking block
Ruff (TC002): pyhilo/api.py#L15
pyhilo/api.py:15:35: TC002 Move third-party import `homeassistant.helpers.config_entry_oauth2_flow` into a type-checking block
Ruff (E501): pyhilo/api.py#L62
pyhilo/api.py:62:89: E501 Line too long (99 > 88)
Ruff (D400): pyhilo/api.py#L74
pyhilo/api.py:74:9: D400 First line should end with a period
Ruff (D415): pyhilo/api.py#L74
pyhilo/api.py:74:9: D415 First line should end with a period, question mark, or exclamation point
Ruff (E501): pyhilo/api.py#L85
pyhilo/api.py:85:89: E501 Line too long (113 > 88)
Ruff (E501): pyhilo/api.py#L86
pyhilo/api.py:86:89: E501 Line too long (115 > 88)
pylint
Process completed with exit code 1.