@@ -179,7 +179,7 @@ class MCastClient(object): # skipcq: PYL-R0205
179179 """The source port for the client."""
180180
181181 # skipcq: TCV-002
182- def __init__ (self , * args , ** kwargs ): # pragma: no cover
182+ def __init__ (self , * args , ** kwargs ) -> None : # pragma: no cover
183183 """
184184 Initialize a MCastClient object with optional group address and source port.
185185
@@ -253,7 +253,7 @@ def __init__(self, *args, **kwargs): # pragma: no cover
253253
254254 # skipcq: TCV-002
255255 @staticmethod
256- def say (address , port , sock , msg ) : # pragma: no cover
256+ def say (address : str , port : int , sock : socket . socket , msg : str ) -> None : # pragma: no cover
257257 """
258258 Send a message to a specified multicast address and port, then receive and print it.
259259
@@ -340,7 +340,7 @@ class MyUDPHandler(socketserver.BaseRequestHandler):
340340 __module__ = "tests.MulticastUDPClient.MyUDPHandler"
341341
342342 # skipcq: TCV-002
343- def handle (self ): # pragma: no cover
343+ def handle (self ) -> None : # pragma: no cover
344344 """
345345 Handle incoming UDP requests.
346346
@@ -397,7 +397,7 @@ def handle(self): # pragma: no cover
397397
398398
399399# skipcq: TCV-002
400- def main (): # pragma: no cover
400+ def main () -> None : # pragma: no cover
401401 """
402402 The main test operations.
403403
0 commit comments