Skip to content

Commit

Permalink
~ fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
passant5 committed Oct 11, 2023
1 parent fe2cfd6 commit e42fc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openlane/steps/openroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def format_count(count: Optional[Union[int, float, Decimal]]) -> str:
def format_slack(slack: Optional[Union[int, float, Decimal]]) -> str:
if slack is None:
return "[gray]?"
slack = round(slack, 4)
slack = round(float(slack), 4)
if slack <= 0:
return f"[red]{slack}"
else:
Expand Down

0 comments on commit e42fc65

Please sign in to comment.