1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00

Update pylint to 3.3.9 (#154194)

This commit is contained in:
Marc Mueller
2025-10-11 09:31:36 +02:00
committed by GitHub
parent 541d94d8c6
commit 0c9b72bf1d
3 changed files with 7 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ mock-open==1.4.0
mypy-dev==1.19.0a4
pre-commit==4.2.0
pydantic==2.12.0
pylint==3.3.8
pylint==3.3.9
pylint-per-file-ignores==1.4.0
pipdeptree==2.26.1
pytest-asyncio==1.2.0

View File

@@ -612,7 +612,6 @@ async def test_async_flash_silabs_firmware(hass: HomeAssistant) -> None:
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, None, None, None),
]
@@ -620,7 +619,6 @@ async def test_async_flash_silabs_firmware(hass: HomeAssistant) -> None:
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, None, None, None),
]
@@ -669,14 +667,12 @@ async def test_async_flash_silabs_firmware_flash_failure(hass: HomeAssistant) ->
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, HomeAssistantError, exc.value, ANY),
]
assert owner2.temporarily_stop.mock_calls == [
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, HomeAssistantError, exc.value, ANY),
]
@@ -731,13 +727,11 @@ async def test_async_flash_silabs_firmware_probe_failure(hass: HomeAssistant) ->
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, None, None, None),
]
assert owner2.temporarily_stop.mock_calls == [
call(hass),
# pylint: disable-next=unnecessary-dunder-call
call().__aenter__(ANY),
# pylint: disable-next=unnecessary-dunder-call
call().__aexit__(ANY, None, None, None),
]

View File

@@ -92,9 +92,12 @@ async def test_visible_background(
await hass.config_entries.async_setup(mock_roborock_entry.entry_id)
await hass.async_block_till_done()
coordinator: RoborockDataUpdateCoordinator = mock_roborock_entry.runtime_data.v1[0]
assert coordinator.map_parser._palette.get_color( # pylint: disable=protected-access
SupportedColor.MAP_OUTSIDE
) != (0, 0, 0, 0)
assert coordinator.map_parser._palette.get_color(SupportedColor.MAP_OUTSIDE) != (
0,
0,
0,
0,
)
@pytest.mark.parametrize(