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
+6
-2
@@ -17,14 +17,16 @@ Both sides:
|
||||
- Forward received LoRa packets -> TCP -> remote side -> TX
|
||||
- Bidirectional: both sides receive AND transmit
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import serial
|
||||
import socket
|
||||
import struct
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
|
||||
import serial
|
||||
|
||||
import donglora as dl
|
||||
|
||||
|
||||
@@ -84,7 +86,9 @@ def radio_to_tcp(ser: serial.Serial, sock: socket.socket):
|
||||
grade = "GOOD"
|
||||
|
||||
if grade in ("INVALID", "UNRELIABLE"):
|
||||
print(f" RX drop len:{len(payload):3d} rssi:{rssi}dBm snr:{snr}dB [{grade}]")
|
||||
print(
|
||||
f" RX drop len:{len(payload):3d} rssi:{rssi}dBm snr:{snr}dB [{grade}]"
|
||||
)
|
||||
continue
|
||||
|
||||
tag = f" [{grade}]" if grade == "MARGINAL" else ""
|
||||
|
||||
Reference in new issue
Block a user