Skip to content

Commit 6f3f2b5

Browse files
committed
Merge branch 'feature/v0.2.6' into develop
2 parents 6d7dfc3 + aee44db commit 6f3f2b5

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
__major_version__ = "0"
2222
__minor_version__ = "2"
23-
__change_version__ = "5"
23+
__change_version__ = "6"
2424
__version__ = ".".join(
2525
(__major_version__, __minor_version__, __change_version__)
2626
)
@@ -41,7 +41,7 @@
4141
__application_name__,
4242
external_scripts=os.environ.get("COLOUR_DASH_JS", "").split(","),
4343
external_stylesheets=os.environ.get("COLOUR_DASH_CSS", "").split(","),
44-
server=SERVER,
44+
server=SERVER, # pyright: ignore
4545
)
4646
"""
4747
*Dash* app.

apps/rgb_colourspace_transformation_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def _uid(id_):
245245
def set_RGB_to_RGB_matrix_output(
246246
input_colourspace: str,
247247
output_colourspace: str,
248-
chromatic_adaptation_transform: str,
248+
chromatic_adaptation_transform: str | None,
249249
formatter: str,
250250
decimals: int,
251251
) -> str:

index.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
=====
44
"""
55

6+
import dash
67
from dash.dependencies import Input, Output
78
from dash.dcc import Link, Location, Markdown
89
from dash.html import A, Div, H3, P
@@ -24,7 +25,7 @@
2425

2526

2627
@APP.callback(Output("apps", "children"), [Input("url", "pathname")])
27-
def load_app(app: APP):
28+
def load_app(app: dash.Dash):
2829
"""
2930
Load given app into the appropriate :class:`Div` class instance.
3031

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "colour-dash"
3-
version = "0.2.5"
3+
version = "0.2.6"
44
description = "Various colour science Dash apps built on top of Colour"
55
license = "BSD-3-Clause"
66
authors = [ "Colour Developers <colour-developers@colour-science.org>" ]

0 commit comments

Comments
 (0)