Skip to content

Commit 7c359c0

Browse files
committed
ruff format
1 parent 3b2bec3 commit 7c359c0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

confection/_registry.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,11 @@ def _validate_promise_args(
328328
}
329329
)
330330
# Check for unexpected arguments (@ keys are registry refs, * is positional args)
331-
known = set(schema.model_fields.keys()) | {
332-
k for k in filled if k.startswith("@")
333-
} | {ARGS_FIELD}
331+
known = (
332+
set(schema.model_fields.keys())
333+
| {k for k in filled if k.startswith("@")}
334+
| {ARGS_FIELD}
335+
)
334336
for key in filled:
335337
if key not in known:
336338
errors.append(

0 commit comments

Comments
 (0)