[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

@@ -8,7 +8,6 @@ from PyObjectBase import PyObjectBase
from enum import IntEnum
from typing import overload, Union, Tuple, Sequence
class ScaleType(IntEnum):
Other = -1
NoScaling = 0
@@ -16,7 +15,6 @@ class ScaleType(IntEnum):
NonUniformLeft = 2
Uniform = 3
@export(
TwinPointer="Matrix4D",
Constructor=True,
@@ -109,13 +107,9 @@ class Matrix(PyObjectBase):
"""The matrix elements."""
@overload
def move(self, vector: Vector, /) -> None:
...
def move(self, vector: Vector, /) -> None: ...
@overload
def move(self, x: float, y: float, z: float, /) -> None:
...
def move(self, x: float, y: float, z: float, /) -> None: ...
def move(self, *args) -> None:
"""
Move the matrix along a vector, equivalent to left multiply the matrix
@@ -132,17 +126,11 @@ class Matrix(PyObjectBase):
...
@overload
def scale(self, vector: Vector, /) -> None:
...
def scale(self, vector: Vector, /) -> None: ...
@overload
def scale(self, x: float, y: float, z: float, /) -> None:
...
def scale(self, x: float, y: float, z: float, /) -> None: ...
@overload
def scale(self, factor: float, /) -> None:
...
def scale(self, factor: float, /) -> None: ...
def scale(self, *args) -> None:
"""
Scale the first three rows of the matrix.
@@ -308,13 +296,9 @@ class Matrix(PyObjectBase):
...
@overload
def multiply(self, matrix: "Matrix", /) -> "Matrix":
...
def multiply(self, matrix: "Matrix", /) -> "Matrix": ...
@overload
def multiply(self, vector: Vector, /) -> Vector:
...
def multiply(self, vector: Vector, /) -> Vector: ...
@constmethod
def multiply(self, obj: Union["Matrix", Vector], /) -> Union["Matrix", Vector]:
"""