mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-13 03:40:54 +08:00
Mark stub-only private symbols as @type_check_only in third-party stubs (#14545)
This commit is contained in:
@@ -77,4 +77,3 @@ class _NamespaceInstaller(namespaces.Installer):
|
||||
|
||||
class InformationOnly(SetuptoolsWarning): ...
|
||||
class LinksNotSupported(errors.FileError): ...
|
||||
class _DebuggingTips(SetuptoolsWarning): ...
|
||||
|
||||
@@ -4,7 +4,6 @@ from typing import Any
|
||||
from typing_extensions import Self
|
||||
|
||||
from ..dist import Distribution
|
||||
from ..warnings import SetuptoolsWarning
|
||||
from . import expand
|
||||
|
||||
def load_file(filepath: StrPath) -> dict[Incomplete, Incomplete]: ...
|
||||
@@ -45,6 +44,3 @@ class _EnsurePackagesDiscovered(expand.EnsurePackagesDiscovered):
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None
|
||||
) -> None: ...
|
||||
|
||||
class _BetaConfiguration(SetuptoolsWarning): ...
|
||||
class _InvalidFile(SetuptoolsWarning): ...
|
||||
|
||||
Reference in New Issue
Block a user