From baaf16e9b3f2b753f874980610f447b549d3b9c5 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Thu, 30 May 2024 08:53:42 +0200 Subject: [PATCH] Adjust type hint for request_mock.Mocker in pylint plugin (#118458) --- pylint/plugins/hass_enforce_type_hints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/plugins/hass_enforce_type_hints.py b/pylint/plugins/hass_enforce_type_hints.py index 99e3a4769ae..2077b865377 100644 --- a/pylint/plugins/hass_enforce_type_hints.py +++ b/pylint/plugins/hass_enforce_type_hints.py @@ -146,7 +146,7 @@ _TEST_FIXTURES: dict[str, list[str] | str] = { "mqtt_mock_entry": "MqttMockHAClientGenerator", "recorder_db_url": "str", "recorder_mock": "Recorder", - "requests_mock": "requests_mock.Mocker", + "requests_mock": "Mocker", "snapshot": "SnapshotAssertion", "socket_enabled": "None", "stub_blueprint_populate": "None",