fix: update dependency path, remove dead recipes, apply lint fixes
Fixed broken dependency path (../clients/python -> ../client-py). Added strict ruff config. Removed dead meshcore/orac/telemetry justfile recipes (scripts never existed). Applied SIM105 (contextlib.suppress) and I001 (import sorting) lint fixes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
7 files changed
+71
-29
No files matched your search
+2
-3
@@ -7,6 +7,7 @@ Usage:
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import sys
|
||||
import time
|
||||
|
||||
@@ -48,10 +49,8 @@ try:
|
||||
print(f" RX: {text!r} RSSI:{resp['rssi']}dBm SNR:{resp['snr']}dB")
|
||||
|
||||
except KeyboardInterrupt:
|
||||
try:
|
||||
with contextlib.suppress(Exception):
|
||||
dl.send(ser, "StopRx")
|
||||
except Exception:
|
||||
pass
|
||||
print("\nDone.")
|
||||
except serial.SerialException as e:
|
||||
print(f"\nSerial error: {e}", file=sys.stderr)
|
||||
|
||||
Reference in new issue
Block a user