From 9efd70ffa4511cc0f2b29e38d3bc03e8dca33690 Mon Sep 17 00:00:00 2001 From: Luz Paz Date: Fri, 25 Jul 2025 08:11:12 -0400 Subject: [PATCH] Fix various source comment typos Found via codespell --- src/Mod/BIM/bimcommands/BimLayers.py | 2 +- src/Mod/BIM/importers/importWebGL.py | 2 +- src/Mod/Sketcher/SketcherTests/TestSketcherSolver.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/BIM/bimcommands/BimLayers.py b/src/Mod/BIM/bimcommands/BimLayers.py index fa2d542051..f7c3daea5b 100644 --- a/src/Mod/BIM/bimcommands/BimLayers.py +++ b/src/Mod/BIM/bimcommands/BimLayers.py @@ -68,7 +68,7 @@ class BIM_Layers: from PySide import QtGui - # chech if the dialog is running) + # check if the dialog is running) if getattr(self, "dialog", None): return diff --git a/src/Mod/BIM/importers/importWebGL.py b/src/Mod/BIM/importers/importWebGL.py index 22369d24f9..8b94dbf71b 100644 --- a/src/Mod/BIM/importers/importWebGL.py +++ b/src/Mod/BIM/importers/importWebGL.py @@ -205,7 +205,7 @@ def export( """Exports objects to an html file. Returns: - bool: True if export was successful, False if not (particulary, + bool: True if export was successful, False if not (particularly, False if no template was available). """ diff --git a/src/Mod/Sketcher/SketcherTests/TestSketcherSolver.py b/src/Mod/Sketcher/SketcherTests/TestSketcherSolver.py index af386a05c7..1a09852985 100644 --- a/src/Mod/Sketcher/SketcherTests/TestSketcherSolver.py +++ b/src/Mod/Sketcher/SketcherTests/TestSketcherSolver.py @@ -465,7 +465,7 @@ class TestSketcherSolver(unittest.TestCase): [Sketcher.Constraint("Block", c_idx), Sketcher.Constraint("Block", l_idx)] ) expected_distance = radius / 2 # note that we don't set this in the constraint below! - # TODO: addConstraint(constraint) triggers a solve (for godd reasons) however, this way + # TODO: addConstraint(constraint) triggers a solve (for good reasons) however, this way # one cannot add non-driving constraints. In contrast, addConstraint(list(constraint)) # does not solve automatically, thus we use this "overload". # Much nicer would be an addConstraint(constraint, isReference=False), like addGeometry