feat: implement strictly typed settings #286
Annotations
7 errors and 10 warnings
Linting:
scanner.py#L3371
scanner.py:3371:13: E741 Ambiguous variable name: `l`
|
Linting
Process completed with exit code 1.
|
Type check:
scanner.py#L990
Object of type "Overload[(object: type, /) -> MappingProxyType[str, Any], (object: Any = ..., /) -> dict[str, Any]]" is not subscriptable (reportIndexIssue)
|
Type check:
scanner.py#L990
Object of type "Overload[(object: type, /) -> MappingProxyType[str, Any], (object: Any = ..., /) -> dict[str, Any]]" is not subscriptable (reportIndexIssue)
|
Type check:
scanner.py#L991
Object of type "Overload[(object: type, /) -> MappingProxyType[str, Any], (object: Any = ..., /) -> dict[str, Any]]" is not subscriptable (reportIndexIssue)
|
Type check
3 errors
|
Type check
Process completed with exit code 1.
|
Type check:
scanner.py#L416
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Type check:
scanner.py#L508
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
Type check:
scanner.py#L544
Type of "_handle_scanner_data" is partially unknown
Type of "_handle_scanner_data" is "(params: Unknown) -> None" (reportUnknownMemberType)
|
Type check:
scanner.py#L544
Argument type is partially unknown
Argument corresponds to parameter "callback" in function "register_response"
Argument type is "(params: Unknown) -> None" (reportUnknownArgumentType)
|
Type check:
scanner.py#L730
Type of "result" is partially unknown
Type of "result" is "dict[str, Unknown]" (reportUnknownVariableType)
|
Type check:
scanner.py#L732
Type of "standard_deviation" is unknown (reportUnknownVariableType)
|
Type check:
scanner.py#L733
Type of "final_position" is unknown (reportUnknownVariableType)
|
Type check:
scanner.py#L734
Type of "retries" is unknown (reportUnknownVariableType)
|
Type check:
scanner.py#L735
Type of "success" is unknown (reportUnknownVariableType)
|
Type check:
scanner.py#L739
Argument type is unknown
Argument corresponds to parameter "x" in function "__new__" (reportUnknownArgumentType)
|
Loading