From e066c6ab94623b85910c8550f35a0b3ad31d6766 Mon Sep 17 00:00:00 2001
From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr>
Date: Wed, 24 Apr 2024 16:38:25 +0200
Subject: [PATCH] Pamhyr2: Fix pep8.

---
 src/Checker/Study.py | 11 +++++++++--
 src/Modules.py       |  1 +
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/Checker/Study.py b/src/Checker/Study.py
index 1d35973f..f0d69262 100644
--- a/src/Checker/Study.py
+++ b/src/Checker/Study.py
@@ -29,6 +29,7 @@ _translate = QCoreApplication.translate
 
 logger = logging.getLogger()
 
+
 class StudyNetworkReachChecker(AbstractModelChecker):
     def __init__(self):
         super(StudyNetworkReachChecker, self).__init__()
@@ -96,6 +97,7 @@ class StudyGeometryChecker(AbstractModelChecker):
         self._status = status
         return ok
 
+
 class StudyInitialConditionsChecker(AbstractModelChecker):
     def __init__(self):
         super(StudyInitialConditionsChecker, self).__init__()
@@ -144,6 +146,7 @@ class StudyInitialConditionsChecker(AbstractModelChecker):
 
         return ok
 
+
 class StudyBoundaryConditionChecker(AbstractModelChecker):
     def __init__(self):
         super(StudyBoundaryConditionChecker, self).__init__()
@@ -190,8 +193,12 @@ class StudyBoundaryConditionChecker(AbstractModelChecker):
 
         bcs_nodes = set(map(lambda bc: bc.node, bcs))
 
-        upstream_ok = self.check_liquid_all_node_has_bc(bcs_nodes, upstream)
-        downstream_ok = self.check_liquid_all_node_has_bc(bcs_nodes, downstream)
+        upstream_ok = self.check_liquid_all_node_has_bc(
+            bcs_nodes, upstream
+        )
+        downstream_ok = self.check_liquid_all_node_has_bc(
+            bcs_nodes, downstream
+        )
 
         ok = upstream_ok and downstream_ok
 
diff --git a/src/Modules.py b/src/Modules.py
index 41bf8a73..f8ed5b65 100644
--- a/src/Modules.py
+++ b/src/Modules.py
@@ -141,6 +141,7 @@ class Modules(IterableFlag):
 
         return set(res)
 
+
 _impact = {
     Modules.NETWORK: [
         Modules.GEOMETRY, Modules.BOUNDARY_CONDITION,
-- 
GitLab