diff --git a/src/scwidgets/__init__.py b/src/scwidgets/__init__.py index 5ffd191..362de61 100644 --- a/src/scwidgets/__init__.py +++ b/src/scwidgets/__init__.py @@ -1,7 +1,7 @@ __version__ = "0.1.0-dev0" __authors__ = "the scicode-widgets developer team" -from ._css_style import CssStyle, get_css_style +from ._css_style import CssStyle from .check import * # noqa: F403 from .code import * # noqa: F403 from .cue import * # noqa: F403 @@ -10,7 +10,6 @@ __all__ = [ # noqa: F405 # css_style "CssStyle", - "get_css_style", # cue "CueWidget", "CheckCueBox", diff --git a/src/scwidgets/_css_style.py b/src/scwidgets/_css_style.py index d11df24..62e1521 100644 --- a/src/scwidgets/_css_style.py +++ b/src/scwidgets/_css_style.py @@ -15,10 +15,3 @@ def __init__(self, preamble: str = ""): style_txt = file.read() HTML.__init__(self, preamble + "") - - -def get_css_style() -> HTML: - return CssStyle( - preamble="HTML with scicode-widget css style sheet. " - "Please keep this cell output alive." - ) diff --git a/tests/__init__.py b/tests/__init__.py index 102add0..333825f 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,5 @@ from scwidgets import ( # noqa: F401 + CssStyle, AssertResult, Check, CheckableWidget,