Skip to content

Commit 2f09228

Browse files
committed
Fix ruff-format: collapse function signature to single line
1 parent 73599bd commit 2f09228

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

wherobots/db/cursor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
_PYFORMAT_RE = re.compile(r"%\(([^)]+)\)s")
1010

1111

12-
def _substitute_parameters(
13-
operation: str, parameters: Dict[str, Any] | None
14-
) -> str:
12+
def _substitute_parameters(operation: str, parameters: Dict[str, Any] | None) -> str:
1513
"""Substitute pyformat parameters into a SQL operation string.
1614
1715
Uses regex to match only %(name)s tokens, leaving literal percent

0 commit comments

Comments
 (0)