refactor _check_hardware to be less intensive on older SOC #361
Annotations
4 errors and 20 warnings
Ruff (E741):
scanner.py#L3326
scanner.py:3326:13: E741 Ambiguous variable name: `l`
|
K1 Checks
Process completed with exit code 1.
|
Ruff (E741):
scanner.py#L3326
scanner.py:3326:13: E741 Ambiguous variable name: `l`
|
Standard Checks
Process completed with exit code 1.
|
K1 Checks:
scanner.py#L179
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L224
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L250
Type of "detect_threshold_z" is unknown (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L250
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L287
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L323
Type of "_handle_scanner_data" is partially unknown
Type of "_handle_scanner_data" is "(params: Unknown) -> None" (reportUnknownMemberType)
|
K1 Checks:
scanner.py#L323
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#L409
Return type, "dict[str, Unknown]", is partially unknown (reportUnknownParameterType)
|
K1 Checks:
scanner.py#L410
Return type, "dict[str, Unknown]", is partially unknown (reportUnknownVariableType)
|
K1 Checks:
scanner.py#L413
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L179
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L224
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L250
Type of "detect_threshold_z" is unknown (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L250
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L287
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L323
Type of "_handle_scanner_data" is partially unknown
Type of "_handle_scanner_data" is "(params: Unknown) -> None" (reportUnknownMemberType)
|
Standard Checks:
scanner.py#L323
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#L409
Return type, "dict[str, Unknown]", is partially unknown (reportUnknownParameterType)
|
Standard Checks:
scanner.py#L410
Return type, "dict[str, Unknown]", is partially unknown (reportUnknownVariableType)
|
Standard Checks:
scanner.py#L413
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|