You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to eliminate mypy errors such as:
src/twisted/pair/rawudp.py:41:5: error: Signature of "RawUDPProtocol" incompatible with "datagramReceived" of supertype "IRawDatagramProtocol" [override]
def datagramReceived(self,
^
src/twisted/pair/ip.py:49:5: error: Signature of "IPProtocol" incompatible with "datagramReceived" of supertype "IRawPacketProtocol" [override]
def datagramReceived(self,
^
src/twisted/pair/test/test_tuntap.py:1343:5: error: Signature of "IPRecordingProtocol" incompatible with "datagramReceived" of supertype "IRawPacketProtocol" [override]
def datagramReceived(self, datagram, partial=False):
^
src/twisted/pair/test/test_tuntap.py:1358:24: error: Incompatible types in assignment (expression has type "Type[IPRecordingProtocol]", variable has type
src/twisted/pair/test/test_tuntap.py:1381:24: error: Incompatible types in assignment (expression has type "Type[EthernetRecordingProtocol]", variable has type
src/twisted/pair/test/test_ip.py:16:5: error: Signature of "MyProtocol" incompatible with "datagramReceived" of supertype "IRawDatagramProtocol" [override]
def datagramReceived(self, data, **kw):
^
src/twisted/pair/test/test_ethernet.py:22:5: error: Signature of "MyProtocol" incompatible with "datagramReceived" of supertype "IRawPacketProtocol" [override]
def datagramReceived(self, data, **kw):
^
This is a continuation of ticket:9889
It would be good to eliminate mypy errors such as:
Searchable metadata
The text was updated successfully, but these errors were encountered: