Chore: Removed unused ADXL functions and variables #131
Annotations
10 errors and 10 warnings
Linting:
scanner.py#L1522
scanner.py:1522:9: F841 Local variable `curtime` is assigned to but never used
|
Linting:
scanner.py#L1554
scanner.py:1554:48: F841 Local variable `ss` is assigned to but never used
|
Linting:
scanner.py#L2462
scanner.py:2462:24: E711 Comparison to `None` should be `cond is None`
|
Linting:
scanner.py#L2462
scanner.py:2462:44: E711 Comparison to `None` should be `cond is None`
|
Linting:
scanner.py#L2462
scanner.py:2462:64: E711 Comparison to `None` should be `cond is None`
|
Linting:
scanner.py#L2462
scanner.py:2462:84: E711 Comparison to `None` should be `cond is None`
|
Linting:
scanner.py#L2603
scanner.py:2603:23: E711 Comparison to `None` should be `cond is None`
|
Linting:
scanner.py#L2949
scanner.py:2949:9: F841 Local variable `clock` is assigned to but never used
|
Linting:
scanner.py#L3132
scanner.py:3132:13: E741 Ambiguous variable name: `l`
|
Linting:
scanner.py#L3297
scanner.py:3297:9: F841 Local variable `orig_step_x` is assigned to but never used
|
Type check:
scanner.py#L100
Type of "thermistor_override" is unknown (reportUnknownMemberType)
|
Type check:
scanner.py#L130
Type of "samples_config" is partially unknown
Type of "samples_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Type check:
scanner.py#L174
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Type check:
scanner.py#L199
Type of "detect_threshold_z" is unknown (reportUnknownMemberType)
|
Type check:
scanner.py#L199
Type of "scanner_touch_config" is partially unknown
Type of "scanner_touch_config" is "dict[str, Unknown]" (reportUnknownMemberType)
|
Type check:
scanner.py#L213
Type of "load" is partially unknown
Type of "load" is "(config: Unknown) -> ScannerTempModelBuilder" (reportUnknownMemberType)
|
Type check:
scanner.py#L228
Type of "create" is partially unknown
Type of "create" is "(scanner: Unknown, config: Unknown) -> (ScannerMeshHelper | None)" (reportUnknownMemberType)
|
Type check:
scanner.py#L231
Type of "_stream_timeout" is partially unknown
Type of "_stream_timeout" is "(eventtime: Unknown) -> float" (reportUnknownMemberType)
|
Type check:
scanner.py#L231
Argument type is partially unknown
Argument corresponds to parameter "callback" in function "register_timer"
Argument type is "(eventtime: Unknown) -> float" (reportUnknownArgumentType)
|
Type check:
scanner.py#L237
Type of "_stream_samples_queue" is partially unknown
Type of "_stream_samples_queue" is "Queue[Unknown]" (reportUnknownMemberType)
|
Loading