1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-26 22:18:40 +00:00

Add more type hints to pylint plugin (#118319)

This commit is contained in:
epenet
2024-05-28 18:37:38 +02:00
committed by GitHub
parent 0b2aac8f4c
commit a59621bf9e
22 changed files with 179 additions and 43 deletions

View File

@@ -20,7 +20,7 @@ def test_sockets_disabled() -> None:
socket.socket()
def test_sockets_enabled(socket_enabled) -> None:
def test_sockets_enabled(socket_enabled: None) -> None:
"""Test we can't connect to an address different from 127.0.0.1."""
mysocket = socket.socket()
with pytest.raises(pytest_socket.SocketConnectBlockedError):