From d9f3a35b2069a40ff685fb25644a4deca49f2059 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Thu, 19 Dec 2024 12:30:37 +0100 Subject: [PATCH] Minimize the first level imports (#105) All classes that are not essential for creating exercises have been removed from the first level import. --- src/scwidgets/__init__.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/scwidgets/__init__.py b/src/scwidgets/__init__.py index 0e22094..1970f02 100644 --- a/src/scwidgets/__init__.py +++ b/src/scwidgets/__init__.py @@ -8,15 +8,6 @@ __all__ = [ # noqa: F405 # cue - "CueWidget", - "CheckCueBox", - "CueBox", - "SaveCueBox", - "UpdateCueBox", - "ResetCueButton", - "SaveResetCueButton", - "CheckResetCueButton", - "UpdateResetCueButton", "CueOutput", "CueObject", "CueFigure", @@ -24,11 +15,7 @@ "CodeInput", "ParameterPanel", # check - "Check", - "CheckResult", - "AssertResult", "CheckRegistry", - "CheckableWidget", "assert_equal", "assert_shape", "assert_numpy_allclose", @@ -38,6 +25,5 @@ # exercise "CodeExercise", "TextExercise", - "ExerciseWidget", "ExerciseRegistry", ]