Remove stubs for appdirs and backports.ssl-match-hostname (#9884)

This commit is contained in:
Alex Waygood
2023-03-14 16:17:55 +00:00
committed by GitHub
parent 7e0b9b44de
commit c9fa41683a
5 changed files with 0 additions and 76 deletions

View File

@@ -1,8 +0,0 @@
version = "1.4.*"
no_longer_updated = true
extra_description = """\
The `appdirs` package has been deprecated in favour of the `platformdirs` \
package, which ships with a `py.typed` file. Users should migrate their \
`appdirs` code to use `platformdirs` instead, which will remove the need for \
the `types-appdirs` package.\
"""

View File

@@ -1,57 +0,0 @@
from typing_extensions import Literal
__version_info__: tuple[int, int, int]
PY3: Literal[True]
unicode = str
system: str
def user_data_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., roaming: bool = ...
) -> str: ...
def site_data_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., multipath: bool = ...
) -> str: ...
def user_config_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., roaming: bool = ...
) -> str: ...
def site_config_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., multipath: bool = ...
) -> str: ...
def user_cache_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., opinion: bool = ...
) -> str: ...
def user_state_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., roaming: bool = ...
) -> str: ...
def user_log_dir(
appname: str | None = ..., appauthor: str | Literal[False] | None = ..., version: str | None = ..., opinion: bool = ...
) -> str: ...
class AppDirs:
appname: str
appauthor: str
version: str
roaming: bool
multipath: bool
def __init__(
self,
appname: str | None = ...,
appauthor: str | Literal[False] | None = ...,
version: str | None = ...,
roaming: bool = ...,
multipath: bool = ...,
) -> None: ...
@property
def user_data_dir(self) -> str: ...
@property
def site_data_dir(self) -> str: ...
@property
def user_config_dir(self) -> str: ...
@property
def site_config_dir(self) -> str: ...
@property
def user_cache_dir(self) -> str: ...
@property
def user_state_dir(self) -> str: ...
@property
def user_log_dir(self) -> str: ...

View File

@@ -1,2 +0,0 @@
version = "3.7.*"
no_longer_updated = true

View File

@@ -1,4 +0,0 @@
from _typeshed import Incomplete
# Explicitly mark this package as incomplete.
def __getattr__(name: str) -> Incomplete: ...

View File

@@ -1,5 +0,0 @@
from ssl import _PeerCertRetDictType
class CertificateError(ValueError): ...
def match_hostname(cert: _PeerCertRetDictType, hostname: str) -> None: ...