mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Bump boltons to 25.0.* (#13481)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "24.1.*"
|
||||
version = "25.0.*"
|
||||
upstream_repository = "https://github.com/mahmoud/boltons"
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
from _typeshed import StrOrBytesPath
|
||||
from collections.abc import Callable, Generator, Iterable
|
||||
from os import PathLike
|
||||
from types import TracebackType
|
||||
from typing import IO, Any, NoReturn
|
||||
from typing_extensions import Self
|
||||
|
||||
def mkdir_p(path: StrOrBytesPath) -> None: ...
|
||||
def rotate_file(filename: PathLike[str], *, keep: int = 5) -> None: ...
|
||||
|
||||
class FilePerms:
|
||||
user: str
|
||||
|
||||
@@ -60,3 +60,4 @@ class MultiReplace:
|
||||
|
||||
def multi_replace(text: str, sub_map: dict[str, str], **kwargs) -> str: ...
|
||||
def unwrap_text(text: str, ending: str = "\n\n") -> str: ...
|
||||
def removeprefix(text: str, prefix: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user