mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2026-06-03 21:00:26 +00:00
Apply ruff linting fixes and add pytest-asyncio
- Add pytest-asyncio to dev-reqs.txt for async test support - Fix ruff formatting issues in symbol_router.py - Fix ruff formatting issues in D_info.py and T_info.py - Remove unused imports from test files (fixed by ruff --fix) - Minor code style fixes in bot files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
||||
"""Functions and Info specific to the Telegram Bot
|
||||
"""
|
||||
"""Functions and Info specific to the Telegram Bot"""
|
||||
|
||||
import re
|
||||
|
||||
|
||||
+1
-1
@@ -232,7 +232,7 @@ def generate_options_reply(options_data: dict):
|
||||
message_text += pricing_info
|
||||
|
||||
# Volume and open interest
|
||||
volume_info = f"*Open Interest:* `{options_data['Open Interest']}`\n" f"*Volume:* `{options_data['Volume']}`\n\n"
|
||||
volume_info = f"*Open Interest:* `{options_data['Open Interest']}`\n*Volume:* `{options_data['Volume']}`\n\n"
|
||||
message_text += volume_info
|
||||
|
||||
# Greeks
|
||||
|
||||
Reference in New Issue
Block a user