mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Remove python-slugify stubs (#12553)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
slugify.__main__
|
||||
@@ -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
|
||||
@@ -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 *
|
||||
@@ -1,8 +0,0 @@
|
||||
__title__: str
|
||||
__author__: str
|
||||
__author_email__: str
|
||||
__description__: str
|
||||
__url__: str
|
||||
__license__: str
|
||||
__copyright__: str
|
||||
__version__: str
|
||||
@@ -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: ...
|
||||
@@ -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]]
|
||||
Reference in New Issue
Block a user