From a18fd2979583c80de0e95f81b5a7e97de2fe5c69 Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Mon, 26 Feb 2024 16:37:09 +0100
Subject: [PATCH] pamhyr: Fix Pep8.

---
 src/View/MainWindow.py | 3 ++-
 src/View/Translate.py  | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py
index 11ac20f4..93baaaf4 100644
--- a/src/View/MainWindow.py
+++ b/src/View/MainWindow.py
@@ -202,7 +202,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
             "action_menu_edit_network": self.open_network,
             "action_menu_edit_geometry": self.open_geometry,
             "action_menu_boundary_conditions": self.open_boundary_cond,
-            "action_menu_boundary_conditions_sediment": self.open_boundary_cond_sed,
+            "action_menu_boundary_conditions_sediment":
+            self.open_boundary_cond_sed,
             "action_menu_edit_reservoirs": self.open_reservoir,
             "action_menu_edit_hydraulic_structures":
             self.open_hydraulic_structures,
diff --git a/src/View/Translate.py b/src/View/Translate.py
index 9b23a57f..6ca09d6a 100644
--- a/src/View/Translate.py
+++ b/src/View/Translate.py
@@ -43,7 +43,9 @@ class CommonWordTranslate(PamhyrTranslate):
         self._dict["floodway"] = _translate("CommonWord", "Floodway")
 
         self._dict["not_defined"] = _translate("CommonWord", "Not defined")
-        self._dict["not_associated"] = _translate("CommonWord", "Not associated")
+        self._dict["not_associated"] = _translate(
+            "CommonWord", "Not associated"
+        )
 
 
 class UnitTranslate(CommonWordTranslate):
-- 
GitLab