mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-05 03:38:50 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
1 parent
1278fa86e2
commit
a5bc1e037f
74 files changed
+218
-202
No files matched your search
@@ -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