From c3497b167268ff6c7527eefb3e82361ddfa59723 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 19 Aug 2024 15:55:19 +0300 Subject: [PATCH] Remove `python-slugify` stubs (#12553) --- .../@tests/stubtest_allowlist.txt | 1 - stubs/python-slugify/METADATA.toml | 3 --- stubs/python-slugify/slugify/__init__.pyi | 12 ----------- stubs/python-slugify/slugify/__version__.pyi | 8 -------- stubs/python-slugify/slugify/slugify.pyi | 20 ------------------- stubs/python-slugify/slugify/special.pyi | 8 -------- 6 files changed, 52 deletions(-) delete mode 100644 stubs/python-slugify/@tests/stubtest_allowlist.txt delete mode 100644 stubs/python-slugify/METADATA.toml delete mode 100644 stubs/python-slugify/slugify/__init__.pyi delete mode 100644 stubs/python-slugify/slugify/__version__.pyi delete mode 100644 stubs/python-slugify/slugify/slugify.pyi delete mode 100644 stubs/python-slugify/slugify/special.pyi diff --git a/stubs/python-slugify/@tests/stubtest_allowlist.txt b/stubs/python-slugify/@tests/stubtest_allowlist.txt deleted file mode 100644 index e77adcaea..000000000 --- a/stubs/python-slugify/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1 +0,0 @@ -slugify.__main__ diff --git a/stubs/python-slugify/METADATA.toml b/stubs/python-slugify/METADATA.toml deleted file mode 100644 index 0998ef19d..000000000 --- a/stubs/python-slugify/METADATA.toml +++ /dev/null @@ -1,3 +0,0 @@ -version = "8.0.2" -upstream_repository = "https://github.com/un33k/python-slugify" -obsolete_since = "8.0.2" # Released on 2024-01-25 diff --git a/stubs/python-slugify/slugify/__init__.pyi b/stubs/python-slugify/slugify/__init__.pyi deleted file mode 100644 index 2d77c5af9..000000000 --- a/stubs/python-slugify/slugify/__init__.pyi +++ /dev/null @@ -1,12 +0,0 @@ -from .__version__ import ( - __author__ as __author__, - __author_email__ as __author_email__, - __copyright__ as __copyright__, - __description__ as __description__, - __license__ as __license__, - __title__ as __title__, - __url__ as __url__, - __version__ as __version__, -) -from .slugify import * -from .special import * diff --git a/stubs/python-slugify/slugify/__version__.pyi b/stubs/python-slugify/slugify/__version__.pyi deleted file mode 100644 index ed1591f36..000000000 --- a/stubs/python-slugify/slugify/__version__.pyi +++ /dev/null @@ -1,8 +0,0 @@ -__title__: str -__author__: str -__author_email__: str -__description__: str -__url__: str -__license__: str -__copyright__: str -__version__: str diff --git a/stubs/python-slugify/slugify/slugify.pyi b/stubs/python-slugify/slugify/slugify.pyi deleted file mode 100644 index 585e18fa3..000000000 --- a/stubs/python-slugify/slugify/slugify.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from collections.abc import Iterable - -def smart_truncate( - string: str, max_length: int = 0, word_boundary: bool = False, separator: str = " ", save_order: bool = False -) -> str: ... -def slugify( - text: str, - entities: bool = True, - decimal: bool = True, - hexadecimal: bool = True, - max_length: int = 0, - word_boundary: bool = False, - separator: str = "-", - save_order: bool = False, - stopwords: Iterable[str] = (), - regex_pattern: str | None = None, - lowercase: bool = True, - replacements: Iterable[Iterable[str]] = (), - allow_unicode: bool = False, -) -> str: ... diff --git a/stubs/python-slugify/slugify/special.pyi b/stubs/python-slugify/slugify/special.pyi deleted file mode 100644 index 2d1da58e8..000000000 --- a/stubs/python-slugify/slugify/special.pyi +++ /dev/null @@ -1,8 +0,0 @@ -from collections.abc import Sequence - -def add_uppercase_char(char_list: Sequence[tuple[str, str]]) -> Sequence[tuple[str, str]]: ... - -CYRILLIC: Sequence[tuple[str, str]] -GERMAN: Sequence[tuple[str, str]] -GREEK: Sequence[tuple[str, str]] -PRE_TRANSLATIONS: Sequence[tuple[str, str]]