mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
removes reportUnknownParameterType (pyright), disallows any generics (mypy)
This commit is contained in:
parent
f5d8775141
commit
eb0c819037
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user