Skip to content

Commit

Permalink
Merge branch 'release/v0.2.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Jul 7, 2023
2 parents a611c1c + 6f3f2b5 commit 1bf68e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__major_version__ = "0"
__minor_version__ = "2"
__change_version__ = "5"
__change_version__ = "6"
__version__ = ".".join(
(__major_version__, __minor_version__, __change_version__)
)
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion apps/rgb_colourspace_transformation_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion index.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>" ]
Expand Down

0 comments on commit 1bf68e8

Please sign in to comment.