diff --git a/app.py b/app.py index 3929f5a..72ef7ad 100644 --- a/app.py +++ b/app.py @@ -20,7 +20,7 @@ __major_version__ = "0" __minor_version__ = "2" -__change_version__ = "5" +__change_version__ = "6" __version__ = ".".join( (__major_version__, __minor_version__, __change_version__) ) @@ -41,7 +41,7 @@ __application_name__, external_scripts=os.environ.get("COLOUR_DASH_JS", "").split(","), external_stylesheets=os.environ.get("COLOUR_DASH_CSS", "").split(","), - server=SERVER, + server=SERVER, # pyright: ignore ) """ *Dash* app. diff --git a/apps/rgb_colourspace_transformation_matrix.py b/apps/rgb_colourspace_transformation_matrix.py index f6c85cd..10ced94 100644 --- a/apps/rgb_colourspace_transformation_matrix.py +++ b/apps/rgb_colourspace_transformation_matrix.py @@ -245,7 +245,7 @@ def _uid(id_): def set_RGB_to_RGB_matrix_output( input_colourspace: str, output_colourspace: str, - chromatic_adaptation_transform: str, + chromatic_adaptation_transform: str | None, formatter: str, decimals: int, ) -> str: diff --git a/index.py b/index.py index 774044d..7006ed9 100644 --- a/index.py +++ b/index.py @@ -3,6 +3,7 @@ ===== """ +import dash from dash.dependencies import Input, Output from dash.dcc import Link, Location, Markdown from dash.html import A, Div, H3, P @@ -24,7 +25,7 @@ @APP.callback(Output("apps", "children"), [Input("url", "pathname")]) -def load_app(app: APP): +def load_app(app: dash.Dash): """ Load given app into the appropriate :class:`Div` class instance. diff --git a/pyproject.toml b/pyproject.toml index ac40e32..cb9d8aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "colour-dash" -version = "0.2.5" +version = "0.2.6" description = "Various colour science Dash apps built on top of Colour" license = "BSD-3-Clause" authors = [ "Colour Developers " ]