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:
sobolevn
2025-02-09 15:19:48 +03:00
committed by GitHub
parent dee4ef3171
commit 6480b2bf4a
3 changed files with 4 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
version = "24.1.*"
version = "25.0.*"
upstream_repository = "https://github.com/mahmoud/boltons"

View File

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

View File

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