mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Replace Flake8 checks with Ruff (except for flake8-pyi) (#11496)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
@@ -803,7 +803,7 @@ def getfqdn(name: str = "") -> str: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
def create_connection(
|
||||
address: tuple[str | None, int],
|
||||
timeout: float | None = ..., # noqa: F811
|
||||
timeout: float | None = ...,
|
||||
source_address: _Address | None = None,
|
||||
*,
|
||||
all_errors: bool = False,
|
||||
@@ -811,7 +811,7 @@ if sys.version_info >= (3, 11):
|
||||
|
||||
else:
|
||||
def create_connection(
|
||||
address: tuple[str | None, int], timeout: float | None = ..., source_address: _Address | None = None # noqa: F811
|
||||
address: tuple[str | None, int], timeout: float | None = ..., source_address: _Address | None = None
|
||||
) -> socket: ...
|
||||
|
||||
def has_dualstack_ipv6() -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user