refactor: Fix import ordering and code formatting with ruff

Organize imports in render.py and scroll.py to meet ruff style requirements.
Add blank lines for code formatting compliance.
This commit is contained in:
2026-03-16 03:01:22 -07:00
parent d4d0344a12
commit bc20a35ea9
4 changed files with 12 additions and 5 deletions

View File

@@ -58,8 +58,10 @@ HEADLINE_LIMIT = 1000
FEED_TIMEOUT = 10
MIC_THRESHOLD_DB = 50 # dB above which glitches intensify
MODE = (
"poetry" if "--poetry" in sys.argv or "-p" in sys.argv
else "code" if "--code" in sys.argv
"poetry"
if "--poetry" in sys.argv or "-p" in sys.argv
else "code"
if "--code" in sys.argv
else "news"
)
FIREHOSE = "--firehose" in sys.argv