Skip to content

Commit 4fd720d

Browse files
style: apply ruff format to src/schemaforge/check.py
1 parent 1c436fc commit 4fd720d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/schemaforge/check.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Schema consistency checker — ensures all format representations are equivalent."""
2+
23
from __future__ import annotations
34

45
from pathlib import Path
@@ -89,13 +90,9 @@ def check_directory(
8990
# Found a mismatch — run a proper diff
9091
try:
9192
diff_result = diff_schemas(text_a, text_b, canonical)
92-
mismatches.append(
93-
f"MISMATCH: {name_a} vs {name_b}\n{diff_result}\n"
94-
)
93+
mismatches.append(f"MISMATCH: {name_a} vs {name_b}\n{diff_result}\n")
9594
except Exception as e:
96-
mismatches.append(
97-
f"ERROR diffing {name_a} vs {name_b}: {e}\n"
98-
)
95+
mismatches.append(f"ERROR diffing {name_a} vs {name_b}: {e}\n")
9996

10097
# Build report
10198
lines: list[str] = []

0 commit comments

Comments
 (0)