Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
keegan-shirel committed May 21, 2024
1 parent 6b9df17 commit 9d3757a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_translate_to_batch_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from tools.translate_to_batch_format import convert


def test_translate_with_simple_and_advanced_source_code() -> None:
convert(
input_directory="./test_data/conversion",
Expand Down Expand Up @@ -33,6 +34,7 @@ def test_translate_with_simple_and_advanced_source_code() -> None:
# cleanup
shutil.rmtree("./test_data/conversion/v3", ignore_errors=True)


def test_translat_without_source_code() -> None:
# convert input
convert(
Expand Down
2 changes: 1 addition & 1 deletion tools/translate_to_batch_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def convert_lineages(
lineage_relationship = LineageWithSource(
src=_convert_lineage_node(lineage_relationship_v1["src_path"]),
trg=_convert_lineage_node(lineage_relationship_v1["trg_path"]),
source_code=source_code
source_code=source_code,
)
else:
lineage_relationship = Lineage(
Expand Down

0 comments on commit 9d3757a

Please sign in to comment.