removes reportUnknownParameterType (pyright), disallows any generics (mypy)

This commit is contained in:
Mose Müller 2023-11-30 09:49:29 +01:00
parent f5d8775141
commit eb0c819037
2 changed files with 2 additions and 3 deletions

View File

@ -93,13 +93,12 @@ max-complexity = 7
[tool.pyright] [tool.pyright]
include = ["src/pydase"] include = ["src/pydase"]
typeCheckingMode = "basic" typeCheckingMode = "basic"
reportUnknownParameterType = true
[tool.mypy] [tool.mypy]
show_error_codes = true
disallow_untyped_defs = true disallow_untyped_defs = true
disallow_untyped_calls = true disallow_untyped_calls = true
disallow_incomplete_defs = true disallow_incomplete_defs = true
disallow_any_generics = true
check_untyped_defs = true check_untyped_defs = true
ignore_missing_imports = false ignore_missing_imports = false

View File

@ -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 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. whenever an item is set. This can be used to track changes in the list items.