mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8: Change to respect pep8 code style.
This commit is contained in:
1 parent
1ab1cb37b0
commit
eea355a784
31 files changed
+169
-98
No files matched your search
+11
-5
@@ -195,7 +195,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
"action_menu_edit_geometry": self.open_geometry,
|
||||
"action_menu_boundary_conditions": self.open_boundary_cond,
|
||||
"action_menu_edit_reservoirs": self.open_reservoir,
|
||||
"action_menu_edit_hydraulic_structures": self.open_hydraulic_structures,
|
||||
"action_menu_edit_hydraulic_structures":
|
||||
self.open_hydraulic_structures,
|
||||
"action_menu_initial_conditions": self.open_initial_conditions,
|
||||
"action_menu_edit_friction": self.open_frictions,
|
||||
"action_menu_edit_lateral_contribution": self.open_lateral_contrib,
|
||||
@@ -282,8 +283,7 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
Nothing
|
||||
"""
|
||||
self.update_enable_action()
|
||||
# Maximise window
|
||||
#self.showMaximized()
|
||||
# self.showMaximized()
|
||||
|
||||
def set_debug_lvl(self, debug=True):
|
||||
if debug:
|
||||
@@ -638,7 +638,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
):
|
||||
return
|
||||
|
||||
hydraulic_structures = HydraulicStructuresWindow(study=self._study, parent=self)
|
||||
hydraulic_structures = HydraulicStructuresWindow(
|
||||
study=self._study,
|
||||
parent=self
|
||||
)
|
||||
hydraulic_structures.show()
|
||||
|
||||
def open_lateral_contrib(self):
|
||||
@@ -648,7 +651,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
):
|
||||
return
|
||||
|
||||
lateral = LateralContributionWindow(study=self._study, parent=self)
|
||||
lateral = LateralContributionWindow(
|
||||
study=self._study,
|
||||
parent=self
|
||||
)
|
||||
lateral.show()
|
||||
|
||||
def open_stricklers(self):
|
||||
|
||||
Reference in new issue
Block a user