Enable pylint on tests #196297
ci.yaml
on: pull_request
Collect information & changes data
17s
Matrix: Prepare dependencies
Check ruff-format
19s
Check ruff
20s
Check other linters
1m 8s
Check hassfest
0s
Check all requirements
0s
Check mypy
0s
Check pylint
0s
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Matrix: pytest-full
Upload test coverage to Codecov (partial suite)
0s
Upload test coverage to Codecov (full suite)
0s
Annotations
1 error and 10 warnings
Check pylint on tests
Process completed with exit code 28.
|
Check pylint on tests:
tests/components/usb/test_init.py#L783
W0124: Following "as" with another context manager looks like a tuple. (confusing-with-statement)
|
Check pylint on tests:
tests/components/dsmr/test_config_flow.py#L531
W0124: Following "as" with another context manager looks like a tuple. (confusing-with-statement)
|
Check pylint on tests:
tests/components/vizio/const.py#L199
C0207: Use HOST.split(':', maxsplit=1)[0] instead (use-maxsplit-arg)
|
Check pylint on tests:
tests/components/emulated_hue/test_upnp.py#L85
W0105: String statement has no effect (pointless-string-statement)
|
Check pylint on tests:
tests/components/emulated_hue/test_upnp.py#L117
W0105: String statement has no effect (pointless-string-statement)
|
Check pylint on tests:
tests/components/emulated_hue/test_upnp.py#L149
W0105: String statement has no effect (pointless-string-statement)
|
Check pylint on tests:
tests/components/whirlpool/test_sensor.py#L84
C0207: Use entity_id.split('_', maxsplit=1)[0] instead (use-maxsplit-arg)
|
Check pylint on tests:
tests/components/whirlpool/test_sensor.py#L154
C0207: Use entity_id.split('_', maxsplit=1)[0] instead (use-maxsplit-arg)
|
Check pylint on tests:
tests/components/whirlpool/test_sensor.py#L158
C0207: Use entity_id.split('_', maxsplit=1)[0] instead (use-maxsplit-arg)
|
Check pylint on tests:
tests/components/google_assistant/__init__.py#L34
W0233: __init__ method from a non direct base class 'AbstractConfig' is called (non-parent-init-called)
|