do not use mypy-specific syntax in '# type: ignore' comments (#5953)

This commit is contained in:
Akuli
2021-08-29 13:58:34 +03:00
committed by GitHub
parent cd90721604
commit 8d5452e873
7 changed files with 207 additions and 207 deletions

View File

@@ -18,7 +18,7 @@ if sys.version_info >= (3, 7):
def buffer_updated(self, nbytes: int) -> None: ...
class DatagramProtocol(BaseProtocol):
def connection_made(self, transport: transports.DatagramTransport) -> None: ... # type: ignore[override]
def connection_made(self, transport: transports.DatagramTransport) -> None: ... # type: ignore
def datagram_received(self, data: bytes, addr: Tuple[str, int]) -> None: ...
def error_received(self, exc: Exception) -> None: ...