Skip to content

Commit

Permalink
Bump boltons to 25.0.* (#13481)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
sobolevn and pre-commit-ci[bot] authored Feb 9, 2025
1 parent dee4ef3 commit 6480b2b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/boltons/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "24.1.*"
version = "25.0.*"
upstream_repository = "https://github.com/mahmoud/boltons"
2 changes: 2 additions & 0 deletions stubs/boltons/boltons/fileutils.pyi
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stubs/boltons/boltons/strutils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

0 comments on commit 6480b2b

Please sign in to comment.