mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -94,12 +94,12 @@ class PortScannerAsync(object):
|
||||
|
||||
class PortScannerYield(PortScannerAsync):
|
||||
def __init__(self) -> None: ...
|
||||
def scan( # type: ignore
|
||||
def scan( # type: ignore[override]
|
||||
self, hosts: str = ..., ports: str | None = ..., arguments: str = ..., sudo: bool = ..., timeout: int = ...
|
||||
) -> Iterator[tuple[str, _Result]]: ...
|
||||
def stop(self) -> None: ...
|
||||
def wait(self, timeout: int | None = ...) -> None: ...
|
||||
def still_scanning(self) -> None: ... # type: ignore
|
||||
def still_scanning(self) -> None: ... # type: ignore[override]
|
||||
|
||||
class PortScannerHostDict(Dict[str, Any]):
|
||||
def hostnames(self) -> list[_ResultHostNames]: ...
|
||||
|
||||
Reference in New Issue
Block a user