From 5c48c4afb3bfa7e4cc72420f950c132dda98a9b3 Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Tue, 24 Mar 2026 16:51:58 +0100 Subject: [PATCH 1/2] Removed ERA001 from pyproject lint.ignore. --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c2b224d..6f7b688 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,6 @@ lint.ignore = [ "D101", # Ignore missing docstring in public classes "F401", # FIXME: those are ignored for now, should be fixed eventually - "ERA001", # Found commented-out code "T201", # `print` found" "SIM105", # Use `contextlib.suppress` "S110", # `try`-`except`-`pass` detected, consider logging the exception From dd1f772c77b586a830f47dbd3107831de076ebfb Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Tue, 24 Mar 2026 16:54:25 +0100 Subject: [PATCH 2/2] Removed ERA001 occurences --- src/petab_gui/controllers/simulation_controller.py | 1 - src/petab_gui/views/simple_plot_view.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/petab_gui/controllers/simulation_controller.py b/src/petab_gui/controllers/simulation_controller.py index 3ef9a4d..90794c6 100644 --- a/src/petab_gui/controllers/simulation_controller.py +++ b/src/petab_gui/controllers/simulation_controller.py @@ -103,7 +103,6 @@ def simulate(self): model=petab_problem.model, ) - # import petabsimualtor import basico from basico.petab import PetabSimulator diff --git a/src/petab_gui/views/simple_plot_view.py b/src/petab_gui/views/simple_plot_view.py index 0255600..55beddd 100644 --- a/src/petab_gui/views/simple_plot_view.py +++ b/src/petab_gui/views/simple_plot_view.py @@ -421,7 +421,6 @@ def plot_residuals(self): simulations_df, ax=axes_fit, ) - # fig_fit.tight_layout() create_plot_tab(fig_fit, self, "Goodness of Fit") def disable_plotting(self, disable: bool):