[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 5e343b0b99
commit 0e5491ca67
192 changed files with 284 additions and 797 deletions

View File

@@ -8,7 +8,6 @@ from Base.Metadata import export
from App.Part import Part
@export(
Include="Mod/Assembly/App/AssemblyLink.h",
Namespace="Assembly",

View File

@@ -9,7 +9,6 @@ from Base.Metadata import constmethod, export
from App.Part import Part
from App.DocumentObject import DocumentObject
@export(Include="Mod/Assembly/App/AssemblyObject.h", Namespace="Assembly")
class AssemblyObject(Part):
"""
@@ -145,10 +144,8 @@ class AssemblyObject(Part):
@constmethod
def getDownstreamParts(
self,
start_part: DocumentObject,
joint_to_ignore: DocumentObject,
/) -> list[DocumentObject]:
self, start_part: DocumentObject, joint_to_ignore: DocumentObject, /
) -> list[DocumentObject]:
"""
Finds all parts connected to a start_part that are not connected to ground
when a specific joint is ignored.
@@ -165,6 +162,5 @@ class AssemblyObject(Part):
A list of App.DocumentObject instances representing the downstream parts.
"""
...
Joints: Final[list]
"""A list of all joints this assembly has."""

View File

@@ -6,7 +6,6 @@ from Base.Metadata import export
from App.DocumentObjectGroup import DocumentObjectGroup
@export(Include="Mod/Assembly/App/BomGroup.h", Namespace="Assembly")
class BomGroup(DocumentObjectGroup):
"""

View File

@@ -5,7 +5,6 @@ from __future__ import annotations
from Base.Metadata import export
from Spreadsheet.Sheet import Sheet
@export(
Include="Mod/Assembly/App/BomObject.h",
FatherInclude="Mod/Spreadsheet/App/SheetPy.h",

View File

@@ -6,7 +6,6 @@ from Base.Metadata import export
from App.DocumentObjectGroup import DocumentObjectGroup
@export(Include="Mod/Assembly/App/JointGroup.h", Namespace="Assembly")
class JointGroup(DocumentObjectGroup):
"""

View File

@@ -6,7 +6,6 @@ from Base.Metadata import export
from App.DocumentObjectGroup import DocumentObjectGroup
@export(Include="Mod/Assembly/App/SimulationGroup.h", Namespace="Assembly")
class SimulationGroup(DocumentObjectGroup):
"""

View File

@@ -6,7 +6,6 @@ from Base.Metadata import export
from App.DocumentObjectGroup import DocumentObjectGroup
@export(Include="Mod/Assembly/App/ViewGroup.h", Namespace="Assembly")
class ViewGroup(DocumentObjectGroup):
"""

View File

@@ -51,7 +51,6 @@ class ViewProviderAssembly(ViewProvider):
Restores the visual state of all components, clearing any active isolation.
"""
...
EnableMovement: bool
"""Enable moving the parts by clicking and dragging."""