Skip to content

Commit 3cdfdc0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c75087a commit 3cdfdc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pycasx/scenario/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@ class GeographicCoordinates:
9090

9191

9292
@overload
93-
def convert(value: int | float) -> float: ...
93+
def convert(value: float) -> float: ...
9494

9595

9696
@overload
97-
def convert(value: int | float, unit: str) -> float: ...
97+
def convert(value: float, unit: str) -> float: ...
9898

9999

100100
@overload
101101
def convert(value: str, unit: str) -> float: ...
102102

103103

104-
def convert(value: int | float | str, unit: str = "") -> float:
104+
def convert(value: float | str, unit: str = "") -> float:
105105
"""Convert a value to a specific unit.
106106
107107
This function takes a value and a unit and converts the value to the

0 commit comments

Comments
 (0)