Skip to content

Commit

Permalink
update: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jotheeswaran-Nandagopal committed Sep 20, 2024
1 parent 926f723 commit 7247618
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ from pathlib import Path
<%
typing_imports = ["Any", "Generator", "List", "Optional"]
if output_metadata:
typing_imports += ["Iterable", "NamedTuple"]
typing_imports += ["NamedTuple"]
if "from pathlib import Path" in built_in_import_modules:
typing_imports += ["Iterable"]
%>\
from typing import ${", ".join(sorted(typing_imports))}

Expand Down

0 comments on commit 7247618

Please sign in to comment.