[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-11-11 19:34:15 +00:00
parent 3561d25c2d
commit 5e0dd60ee5
192 changed files with 284 additions and 797 deletions

View File

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