From b43937d5de6c3dd99a3202c7d41ebba53524efb0 Mon Sep 17 00:00:00 2001 From: CyclingNinja Date: Fri, 24 May 2024 15:11:47 +0100 Subject: [PATCH] Codestyle modifications --- glue/main.py | 3 ++- glue/tests/test_main.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glue/main.py b/glue/main.py index 0b228b1ce..63fa2b279 100644 --- a/glue/main.py +++ b/glue/main.py @@ -115,8 +115,9 @@ def load_plugins(splash=None, require_qt_plugins=False, plugins_to_load=None): from glue._settings_helpers import load_settings load_settings() + def list_plugins(): """ Function to list all plugins that are currently loaded """ - return sorted(_loaded_plugins) \ No newline at end of file + return sorted(_loaded_plugins) diff --git a/glue/tests/test_main.py b/glue/tests/test_main.py index 961416a8d..4744005e4 100644 --- a/glue/tests/test_main.py +++ b/glue/tests/test_main.py @@ -17,7 +17,6 @@ def test_load_plugins(capsys): assert False - def test_no_duplicate_loading(capsys): """ Regression test for duplicated loading of plugins