diff --git a/dash/_pages.py b/dash/_pages.py index 22b7cecb4a..19c2c535f5 100644 --- a/dash/_pages.py +++ b/dash/_pages.py @@ -17,7 +17,7 @@ from ._utils import AttributeDict, get_root_path CONFIG = AttributeDict() -PAGE_REGISTRY = collections.OrderedDict() +PAGE_REGISTRY: collections.OrderedDict = collections.OrderedDict() def _infer_image(module): diff --git a/requirements/ci.txt b/requirements/ci.txt index a50b0af312..f948d4dabb 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -23,4 +23,4 @@ pytest-rerunfailures pytest-timeout jupyterlab<4.0.0 pyright==1.1.414 -mypy==1.15.0 +mypy==2.4.0