Skip to content

Commit

Permalink
Fixup type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Oct 2, 2024
1 parent 2e31159 commit f2d508d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usaon_benefit_tool/util/sankey.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _node_ids_in_links(links: list[HighchartsSankeySeriesLink]) -> set[str]:
return node_ids


def _weight_for_criticality_rating(criticality_rating: int | None) -> float:
def _weight_for_criticality_rating(criticality_rating: int | None) -> int | float:
"""If criticality rating is not set, return a very thin line."""
if criticality_rating is None:
return 0.01
Expand Down

0 comments on commit f2d508d

Please sign in to comment.