Skip to content

Commit 4fe1d28

Browse files
style
1 parent f75f90a commit 4fe1d28

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

sqlmesh/core/context.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,9 @@ def table_diff(
16131613
if not target_env:
16141614
raise SQLMeshError(f"Could not find environment '{target}'")
16151615

1616-
modified_snapshots: t.Set[ModelOrSnapshot] = { model_or_snapshot } if model_or_snapshot else set()
1616+
modified_snapshots: t.Set[ModelOrSnapshot] = (
1617+
{model_or_snapshot} if model_or_snapshot else set()
1618+
)
16171619
if select_model:
16181620
models_to_diff = self._new_selector().expand_model_selections(select_model)
16191621
target_snapshots = {

tests/integrations/jupyter/test_magics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def test_table_diff(notebook, loaded_sushi_context, convert_all_html_output_to_t
644644
assert len(output.outputs) == 5
645645

646646
assert convert_all_html_output_to_text(output) == [
647-
"""Table Diff
647+
"""Table Diff
648648
├── Model:
649649
│ └── sushi.top_waiters
650650
├── Environment:

0 commit comments

Comments
 (0)