Skip to content

Commit 0c9b72b

Browse files
authored
Update pylint to 3.3.9 (home-assistant#154194)
1 parent 541d94d commit 0c9b72b

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

requirements_test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mock-open==1.4.0
1818
mypy-dev==1.19.0a4
1919
pre-commit==4.2.0
2020
pydantic==2.12.0
21-
pylint==3.3.8
21+
pylint==3.3.9
2222
pylint-per-file-ignores==1.4.0
2323
pipdeptree==2.26.1
2424
pytest-asyncio==1.2.0

tests/components/homeassistant_hardware/test_util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -612,15 +612,13 @@ async def mock_flash_firmware(
612612
call(hass),
613613
# pylint: disable-next=unnecessary-dunder-call
614614
call().__aenter__(ANY),
615-
# pylint: disable-next=unnecessary-dunder-call
616615
call().__aexit__(ANY, None, None, None),
617616
]
618617

619618
assert owner2.temporarily_stop.mock_calls == [
620619
call(hass),
621620
# pylint: disable-next=unnecessary-dunder-call
622621
call().__aenter__(ANY),
623-
# pylint: disable-next=unnecessary-dunder-call
624622
call().__aexit__(ANY, None, None, None),
625623
]
626624

@@ -669,14 +667,12 @@ async def test_async_flash_silabs_firmware_flash_failure(hass: HomeAssistant) ->
669667
call(hass),
670668
# pylint: disable-next=unnecessary-dunder-call
671669
call().__aenter__(ANY),
672-
# pylint: disable-next=unnecessary-dunder-call
673670
call().__aexit__(ANY, HomeAssistantError, exc.value, ANY),
674671
]
675672
assert owner2.temporarily_stop.mock_calls == [
676673
call(hass),
677674
# pylint: disable-next=unnecessary-dunder-call
678675
call().__aenter__(ANY),
679-
# pylint: disable-next=unnecessary-dunder-call
680676
call().__aexit__(ANY, HomeAssistantError, exc.value, ANY),
681677
]
682678

@@ -731,13 +727,11 @@ async def test_async_flash_silabs_firmware_probe_failure(hass: HomeAssistant) ->
731727
call(hass),
732728
# pylint: disable-next=unnecessary-dunder-call
733729
call().__aenter__(ANY),
734-
# pylint: disable-next=unnecessary-dunder-call
735730
call().__aexit__(ANY, None, None, None),
736731
]
737732
assert owner2.temporarily_stop.mock_calls == [
738733
call(hass),
739734
# pylint: disable-next=unnecessary-dunder-call
740735
call().__aenter__(ANY),
741-
# pylint: disable-next=unnecessary-dunder-call
742736
call().__aexit__(ANY, None, None, None),
743737
]

tests/components/roborock/test_coordinator.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,12 @@ async def test_visible_background(
9292
await hass.config_entries.async_setup(mock_roborock_entry.entry_id)
9393
await hass.async_block_till_done()
9494
coordinator: RoborockDataUpdateCoordinator = mock_roborock_entry.runtime_data.v1[0]
95-
assert coordinator.map_parser._palette.get_color( # pylint: disable=protected-access
96-
SupportedColor.MAP_OUTSIDE
97-
) != (0, 0, 0, 0)
95+
assert coordinator.map_parser._palette.get_color(SupportedColor.MAP_OUTSIDE) != (
96+
0,
97+
0,
98+
0,
99+
0,
100+
)
98101

99102

100103
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)