Skip to content

Commit b57ae3d

Browse files
committed
make mypy happy
1 parent 79bd302 commit b57ae3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

warehouse/scripts/visualize.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,13 @@ def ci_report(
283283
latest_dir,
284284
]
285285
).result
286+
assert isinstance(modified_models, list)
287+
assert isinstance(changed_or_downstream_incremental_models, list)
286288
include = set(changed_or_downstream_incremental_models + modified_models)
287289
typer.secho(f"Visualizing the following models: {include}")
288290
viz(
289291
"man",
290-
include=list(include), # this is List typed
292+
include=list(include),
291293
output=Path("./target/dag.png"),
292294
)
293295

0 commit comments

Comments
 (0)