Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#71)
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
pre-commit-ci[bot] authored Jan 13, 2025
1 parent da70553 commit dcdeb1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/legacy_api_wrap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def fn_compatible(*args_all: P.args, **kw: P.kwargs) -> R:
)
raise TypeError(msg)
warn(
f"The specified parameters {old_positionals[:len(args_rest)]!r} are "
f"The specified parameters {old_positionals[: len(args_rest)]!r} are "
"no longer positional. "
f"Please specify them like `{old_positionals[0]}={args_rest[0]!r}`",
category=category,
Expand Down

0 comments on commit dcdeb1d

Please # to comment.