Skip to content

Commit c1bd769

Browse files
[pre-commit.ci] pre-commit autoupdate (#23)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.11.4](astral-sh/ruff-pre-commit@v0.8.6...v0.11.4) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f8e1a42 commit c1bd769

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: end-of-file-fixer
77
- id: check-docstring-first
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.8.6
9+
rev: v0.11.4
1010
hooks:
1111
- id: ruff-format
1212
- id: ruff

xproj/accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def either_dict_or_kwargs(
2424
"""
2525
if positional and keyword:
2626
raise ValueError(
27-
"Cannot specify both keyword and positional arguments to " f"'.proj.{func_name}'."
27+
f"Cannot specify both keyword and positional arguments to '.proj.{func_name}'."
2828
)
2929
if positional is None or positional == {}:
3030
return cast(Mapping[Hashable, Any], keyword)

0 commit comments

Comments
 (0)