We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c436fc commit 4fd720dCopy full SHA for 4fd720d
1 file changed
src/schemaforge/check.py
@@ -1,4 +1,5 @@
1
"""Schema consistency checker — ensures all format representations are equivalent."""
2
+
3
from __future__ import annotations
4
5
from pathlib import Path
@@ -89,13 +90,9 @@ def check_directory(
89
90
# Found a mismatch — run a proper diff
91
try:
92
diff_result = diff_schemas(text_a, text_b, canonical)
- mismatches.append(
93
- f"MISMATCH: {name_a} vs {name_b}\n{diff_result}\n"
94
- )
+ mismatches.append(f"MISMATCH: {name_a} vs {name_b}\n{diff_result}\n")
95
except Exception as e:
96
97
- f"ERROR diffing {name_a} vs {name_b}: {e}\n"
98
+ mismatches.append(f"ERROR diffing {name_a} vs {name_b}: {e}\n")
99
100
# Build report
101
lines: list[str] = []
0 commit comments