mirror of
https://github.com/smittix/intercept.git
synced 2026-07-08 01:28:13 -07:00
style: apply ruff-format to entire codebase
First-time run of ruff-format via pre-commit hook normalises quote style, trailing commas, and whitespace across 188 Python files. No logic changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-3
@@ -13,7 +13,7 @@ from typing import Any
|
||||
|
||||
from utils.logging import get_logger
|
||||
|
||||
logger = get_logger('intercept.signal_db')
|
||||
logger = get_logger("intercept.signal_db")
|
||||
|
||||
_DB_PATH = Path(__file__).resolve().parent.parent / "data" / "signals.json"
|
||||
_cache: list[dict[str, Any]] | None = None
|
||||
@@ -109,8 +109,7 @@ def match_signals(
|
||||
elif bw_range["min_hz"] <= bandwidth_hz <= bw_range["max_hz"]:
|
||||
score += 30
|
||||
reasons.append("bandwidth: within typical")
|
||||
elif (bandwidth_hz <= bw_range["max_hz"] * 2
|
||||
and bandwidth_hz >= bw_range["min_hz"] // 2):
|
||||
elif bandwidth_hz <= bw_range["max_hz"] * 2 and bandwidth_hz >= bw_range["min_hz"] // 2:
|
||||
score += 15
|
||||
reasons.append("bandwidth: near typical")
|
||||
# else: 0 pts, no reason added
|
||||
|
||||
Reference in New Issue
Block a user