Skip to content

Commit 4f3a9d9

Browse files
committed
Fix old ruff formatting
1 parent 81ceb44 commit 4f3a9d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ninja/signature/details.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,9 @@ def _get_param_type(self, name: str, arg: inspect.Parameter) -> FuncParam:
283283

284284
# 2) if param name is a part of the path parameter
285285
elif name in self.path_params_names:
286-
assert default == self.signature.empty, (
287-
f"'{name}' is a path param, default not allowed"
288-
)
286+
assert (
287+
default == self.signature.empty
288+
), f"'{name}' is a path param, default not allowed"
289289
param_source = Path(...)
290290

291291
# 3) if param is a collection, or annotation is part of pydantic model:

0 commit comments

Comments
 (0)