From e6c08cb4e4f0cab0fdb0c894f560309b464d9bcd Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Mon, 13 May 2024 14:45:59 +0200 Subject: [PATCH] Geometry: Fix pep8. --- src/View/Geometry/Translate.py | 5 ++++- src/View/Geometry/Window.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/View/Geometry/Translate.py b/src/View/Geometry/Translate.py index 4ee4fced..ec8c451a 100644 --- a/src/View/Geometry/Translate.py +++ b/src/View/Geometry/Translate.py @@ -68,7 +68,10 @@ class GeometryTranslate(MainTranslate): self._sub_dict["lm_dict"] = { "1": _translate("Geometry", "the first guide-line"), "2": _translate("Geometry", "the second guide-line"), - "3": _translate("Geometry", "the means between the two guide-lines"), + "3": _translate( + "Geometry", + "the means between the two guide-lines" + ), } self._sub_dict["r_lm_dict"] = {} diff --git a/src/View/Geometry/Window.py b/src/View/Geometry/Window.py index 5e25bd31..d63bf929 100644 --- a/src/View/Geometry/Window.py +++ b/src/View/Geometry/Window.py @@ -295,7 +295,7 @@ class GeometryWindow(PamhyrWindow): data = { "step": dlg.space_step, "limites": [dlg.begin_cs, dlg.end_cs], - "origin" : dlg.origin, + "origin": dlg.origin, "directrices": [dlg.begin_dir, dlg.end_dir], "lplan": dlg.lplan, "lm": dlg.lm, -- GitLab