Skip to content

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

Rename tests.yaml to linting.yaml and update workflow

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

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

linting.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
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)
codespell
Process completed with exit code 1.
pylint
Process completed with exit code 1.
Ruff
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
codespell
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
yamllint
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
Prettier
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
Prettier
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
pylint
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
pre-commit-hooks
Cache not found for keys: setup-python-Linux-x64-python-3.11.11-poetry-v2-9ae177e5001fcf96073b5841ba564e1a8746bac0d4c084dbd992753839000826
pre-commit-hooks
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists