[bindings] Format with yapf (precommit will reformat)

This commit is contained in:
Frank Martinez
2025-10-07 12:07:42 -05:00
parent d4d7cabdc5
commit 0d0689341b
254 changed files with 885 additions and 311 deletions

View File

@@ -7,6 +7,7 @@ from PyObjectBase import PyObjectBase
from Quantity import Quantity
from typing import Final, Tuple, overload
@export(
NumberProtocol=True,
RichCompare=True,
@@ -30,7 +31,9 @@ class Unit(PyObjectBase):
"""
@overload
def __init__(self) -> None: ...
def __init__(self) -> None:
...
@overload
def __init__(
self,
@@ -42,13 +45,20 @@ 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'."""