feat: implement strictly typed settings #287
Annotations
4 errors and 20 warnings
Ruff (E741):
scanner.py#L3378
scanner.py:3378:13: E741 Ambiguous variable name: `l`
|
K1 Checks
Process completed with exit code 1.
|
Ruff (E741):
scanner.py#L3378
scanner.py:3378:13: E741 Ambiguous variable name: `l`
|
Standard Checks
Process completed with exit code 1.
|
K1 Checks:
scanner.py#L416
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L508
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L544
Type of "_handle_scanner_data" is partially unknown
Type of "_handle_scanner_data" is "(params: Unknown) -> None" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L544
Argument type is partially unknown
Argument corresponds to parameter "callback" in function "register_response"
Argument type is "(params: Unknown) -> None" (reportUnknownArgumentType)
|
K1 Checks:
scanner.py#L730
Type of "result" is partially unknown
Type of "result" is "dict[str, Unknown]" (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L732
Type of "standard_deviation" is unknown (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L733
Type of "final_position" is unknown (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L734
Type of "retries" is unknown (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L735
Type of "success" is unknown (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L739
Argument type is unknown
Argument corresponds to parameter "x" in function "__new__" (reportUnknownArgumentType)
|
Standard Checks:
scanner.py#L416
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L508
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L544
Type of "_handle_scanner_data" is partially unknown
Type of "_handle_scanner_data" is "(params: Unknown) -> None" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L544
Argument type is partially unknown
Argument corresponds to parameter "callback" in function "register_response"
Argument type is "(params: Unknown) -> None" (reportUnknownArgumentType)
|
Standard Checks:
scanner.py#L730
Type of "result" is partially unknown
Type of "result" is "dict[str, Unknown]" (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L732
Type of "standard_deviation" is unknown (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L733
Type of "final_position" is unknown (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L734
Type of "retries" is unknown (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L735
Type of "success" is unknown (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L739
Argument type is unknown
Argument corresponds to parameter "x" in function "__new__" (reportUnknownArgumentType)
|