style(valid-detection-benchmark): apply ruff format to 15 benchmark modules

CI runs ruff format --check over the whole repository, and these modules under benchmarks/valid were the last unformatted files. Formatting only: the AST dump of every file is identical to the previous revision and the logical line count is unchanged (admission_execution.py and admission_projection.py stay at 400).
This commit is contained in:
Marius Ciepluch
2026-11-23 11:42:55 +01:00
parent 0d5aaeecca
commit bacbe53a0b
15 changed files with 244 additions and 332 deletions
@@ -216,9 +216,7 @@ def _decode_canonical(content: bytes, label: str) -> dict[str, object]:
if not isinstance(content, bytes) or not content:
raise ArtifactContractError(f"{label} bytes must be nonempty")
try:
decoded = json.loads(
content, object_pairs_hook=_unique_object, parse_constant=_reject_constant, parse_float=_finite_float
)
decoded = json.loads(content, object_pairs_hook=_unique_object, parse_constant=_reject_constant, parse_float=_finite_float)
except ArtifactContractError:
raise
except (UnicodeError, json.JSONDecodeError, RecursionError) as error: