diff --git a/pyproject.toml b/pyproject.toml index a2db3a2..aa00bf7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,13 +93,12 @@ max-complexity = 7 [tool.pyright] include = ["src/pydase"] typeCheckingMode = "basic" -reportUnknownParameterType = true [tool.mypy] -show_error_codes = true disallow_untyped_defs = true disallow_untyped_calls = true disallow_incomplete_defs = true +disallow_any_generics = true check_untyped_defs = true ignore_missing_imports = false diff --git a/src/pydase/data_service/data_service_list.py b/src/pydase/data_service/data_service_list.py index e40fc57..dad89cc 100644 --- a/src/pydase/data_service/data_service_list.py +++ b/src/pydase/data_service/data_service_list.py @@ -7,7 +7,7 @@ from pydase.utils.warnings import ( ) -class DataServiceList(list): +class DataServiceList(list[Any]): """ DataServiceList is a list with additional functionality to trigger callbacks whenever an item is set. This can be used to track changes in the list items.