We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6000d3b commit c886be0Copy full SHA for c886be0
1 file changed
sqlmesh/core/context_diff.py
@@ -358,7 +358,11 @@ def format_diff(attribute: str) -> t.Optional[Syntax]:
358
if previous == current:
359
return None
360
361
- diff_text = f"=== {attribute if not attribute == PYTHON_ENV else "dependencies"} ===\n"
+ diff_text = (
362
+ f"=== {attribute} ===\n"
363
+ if not attribute == PYTHON_ENV
364
+ else "=== dependencies ===\n"
365
+ )
366
367
diff_lines = list(ndiff(previous, current))
368
if any(line.startswith(("-", "+")) for line in diff_lines):
0 commit comments