mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Run mypy and pyright on our py312 stubs in CI (#10119)
This commit is contained in:
@@ -17,7 +17,6 @@ __all__ = [
|
||||
"ParsingError",
|
||||
"MissingSectionHeaderError",
|
||||
"ConfigParser",
|
||||
"SafeConfigParser",
|
||||
"RawConfigParser",
|
||||
"Interpolation",
|
||||
"BasicInterpolation",
|
||||
@@ -29,6 +28,9 @@ __all__ = [
|
||||
"MAX_INTERPOLATION_DEPTH",
|
||||
]
|
||||
|
||||
if sys.version_info < (3, 12):
|
||||
__all__ += ["SafeConfigParser"]
|
||||
|
||||
_Section: TypeAlias = Mapping[str, str]
|
||||
_Parser: TypeAlias = MutableMapping[str, _Section]
|
||||
_ConverterCallback: TypeAlias = Callable[[str], Any]
|
||||
|
||||
Reference in New Issue
Block a user