Skip to content

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

Rename tests.yaml to linting.yaml and update workflow

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

Triggered via pull request February 28, 2025 03:38
Status Failure
Total duration 2m 52s
Artifacts

linting.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 6 warnings
yamllint: .bandit.yaml#L20
20:9 [new-line-at-end-of-file] no new line character at the end of file
yamllint: .github/release-drafter.yml#L1
1:1 [document-start] missing document start "---"
yamllint: .github/dependabot.yml#L1
1:1 [document-start] missing document start "---"
yamllint: .github/workflows/release-drafter.yml#L1
1:1 [document-start] missing document start "---"
yamllint: .github/workflows/release-drafter.yml#L2
2:1 [truthy] truthy value should be one of [false, true]
yamllint: .github/workflows/labeler.yml#L1
1:1 [document-start] missing document start "---"
yamllint: .github/workflows/labeler.yml#L3
3:1 [truthy] truthy value should be one of [false, true]
yamllint
Process completed with exit code 1.
Ruff (PGH004): pyhilo/__init__.py#L2
pyhilo/__init__.py:2:29: PGH004 Use specific rule codes when using `noqa`
Ruff (PGH004): pyhilo/__init__.py#L3
pyhilo/__init__.py:3:37: PGH004 Use specific rule codes when using `noqa`
Ruff (EXE002): pyhilo/api.py#L1
pyhilo/api.py:1:1: EXE002 The file is executable but no shebang is present
Ruff (D100): pyhilo/api.py#L1
pyhilo/api.py:1:1: D100 Missing docstring in public module
Ruff (I001): pyhilo/api.py#L1
pyhilo/api.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (TC002): pyhilo/api.py#L12
pyhilo/api.py:12: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
codespell
Process completed with exit code 1.
pre-commit-hooks
Process completed with exit code 1.
pylint
Process completed with exit code 1.
yamllint
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08
Ruff
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08
codespell
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08
pre-commit-hooks
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08
pylint
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08
Prettier
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-f8f0088b0cc45a6223f2671aaaedb7d8e4ca35b910b31d38a48a644a65266d08