Remove exception for Python 3.8 typing from linter (#22506)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-08-08 03:06:46 -07:00
committed by GitHub
parent 7be7f3824a
commit e5ebeeba53
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ from dataclasses import dataclass, field
from functools import cache, lru_cache, partial, wraps
from types import MappingProxyType
from typing import (TYPE_CHECKING, Any, Callable, Generic, Literal, NamedTuple,
Optional, TextIO, Tuple, TypeVar, Union, cast, overload)
Optional, TextIO, TypeVar, Union, cast, overload)
from urllib.parse import urlparse
from uuid import uuid4
@@ -861,7 +861,7 @@ def is_valid_ipv6_address(address: str) -> bool:
return False
def split_host_port(host_port: str) -> Tuple[str, int]:
def split_host_port(host_port: str) -> tuple[str, int]:
# ipv6
if host_port.startswith('['):
host, port = host_port.rsplit(']', 1)