typing and small refactor

This commit is contained in:
Andrej730
2024-03-22 13:58:07 +05:00
parent 5aa6123806
commit 7132c4e9bf
11 changed files with 126 additions and 117 deletions
@@ -603,7 +603,7 @@ def format_length(
precision: float,
decimal_places: int = 2,
suppress_zero_inches=True,
unit_system: Union[Literal["metric"], Literal["imperial"]] = "imperial",
unit_system: Literal["metric", "imperial"] = "imperial",
input_unit="foot",
output_unit="foot",
) -> str: