Remove python-slugify stubs (#12553)

This commit is contained in:
sobolevn
2024-08-19 15:55:19 +03:00
committed by GitHub
parent 30a20398c9
commit c3497b1672
6 changed files with 0 additions and 52 deletions

View File

@@ -1 +0,0 @@
slugify.__main__

View File

@@ -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

View File

@@ -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 *

View File

@@ -1,8 +0,0 @@
__title__: str
__author__: str
__author_email__: str
__description__: str
__url__: str
__license__: str
__copyright__: str
__version__: str

View File

@@ -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: ...

View File

@@ -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]]