Skip to content

Commit

Permalink
Fix type hint in genconstellations.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtribick committed May 14, 2024
1 parent 05b5987 commit 1875701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/celengine/genconstellations.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def create_edge_str(root: Node) -> str:
return edge_data[0]


def compile_tree(root: Node) -> tuple(str, list[int]):
def compile_tree(root: Node) -> tuple[str, list[int]]:
"""Compiles the tree into data"""
edge_str = create_edge_str(root)
out_nodes: list[int] = []
Expand Down

0 comments on commit 1875701

Please sign in to comment.