Skip to content

Commit 6480b2b

Browse files
Bump boltons to 25.0.* (#13481)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent dee4ef3 commit 6480b2b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

stubs/boltons/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "24.1.*"
1+
version = "25.0.*"
22
upstream_repository = "https://github.com/mahmoud/boltons"

stubs/boltons/boltons/fileutils.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
from _typeshed import StrOrBytesPath
22
from collections.abc import Callable, Generator, Iterable
3+
from os import PathLike
34
from types import TracebackType
45
from typing import IO, Any, NoReturn
56
from typing_extensions import Self
67

78
def mkdir_p(path: StrOrBytesPath) -> None: ...
9+
def rotate_file(filename: PathLike[str], *, keep: int = 5) -> None: ...
810

911
class FilePerms:
1012
user: str

stubs/boltons/boltons/strutils.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ class MultiReplace:
6060

6161
def multi_replace(text: str, sub_map: dict[str, str], **kwargs) -> str: ...
6262
def unwrap_text(text: str, ending: str = "\n\n") -> str: ...
63+
def removeprefix(text: str, prefix: str) -> str: ...

0 commit comments

Comments
 (0)