From 879c1515241220daf831d1b5e06c64181d0ab5d5 Mon Sep 17 00:00:00 2001 From: Theophile Terraz Date: Wed, 29 Oct 2025 17:13:09 +0100 Subject: [PATCH] pep8 --- src/Meshing/Internal.py | 2 +- src/View/Geometry/UndoCommand.py | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Meshing/Internal.py b/src/Meshing/Internal.py index 7266a2ec..12ffc24e 100644 --- a/src/Meshing/Internal.py +++ b/src/Meshing/Internal.py @@ -311,7 +311,7 @@ class InternalMeshing(AMeshingTool): frictions = reach._parent.frictions old_begin_rk = list(map(lambda x: x * old_orientation, - begin_rk)) + begin_rk)) old_end_rk = list(map(lambda x: x * old_orientation, end_rk)) old_rk = list(map(lambda x: x * old_orientation, diff --git a/src/View/Geometry/UndoCommand.py b/src/View/Geometry/UndoCommand.py index 699a2e9b..88fb4162 100644 --- a/src/View/Geometry/UndoCommand.py +++ b/src/View/Geometry/UndoCommand.py @@ -258,10 +258,11 @@ class UpdateRKCommand(QUndoCommand): def redo(self): if self._new_rks is None: - self._new_rks, self._new_begin_rk, self._new_end_rk = self._mesher.update_rk( - self._reach, self._begin_rk, self._end_rk, - **self._data - ) + self._new_rks, self._new_begin_rk, self._new_end_rk = \ + self._mesher.update_rk( + self._reach, self._begin_rk, self._end_rk, + **self._data + ) for rk, profile in zip(self._new_rks, self._reach.profiles): profile.rk = rk