black formatting
This commit is contained in:
@@ -8,7 +8,6 @@ from Quantity import Quantity
|
||||
from Unit import Unit
|
||||
from typing import Final, Tuple, overload
|
||||
|
||||
|
||||
@export(
|
||||
NumberProtocol=True,
|
||||
RichCompare=True,
|
||||
@@ -32,9 +31,7 @@ class Unit(PyObjectBase):
|
||||
"""
|
||||
|
||||
@overload
|
||||
def __init__(self) -> None:
|
||||
...
|
||||
|
||||
def __init__(self) -> None: ...
|
||||
@overload
|
||||
def __init__(
|
||||
self,
|
||||
@@ -46,20 +43,13 @@ class Unit(PyObjectBase):
|
||||
i6: float,
|
||||
i7: float,
|
||||
i8: float,
|
||||
) -> None:
|
||||
...
|
||||
|
||||
) -> None: ...
|
||||
@overload
|
||||
def __init__(self, quantity: Quantity) -> None:
|
||||
...
|
||||
|
||||
def __init__(self, quantity: Quantity) -> None: ...
|
||||
@overload
|
||||
def __init__(self, unit: Unit) -> None:
|
||||
...
|
||||
|
||||
def __init__(self, unit: Unit) -> None: ...
|
||||
@overload
|
||||
def __init__(self, string: str) -> None:
|
||||
...
|
||||
def __init__(self, string: str) -> None: ...
|
||||
|
||||
Type: Final[str] = ...
|
||||
"""holds the unit type as a string, e.g. 'Area'."""
|
||||
|
||||
Reference in New Issue
Block a user