1
0
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:
Anson Biggs
2026-02-21 16:53:00 -05:00
parent 8b054827d8
commit 5aa639dbf6
6 changed files with 8 additions and 12 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
"""Functions and Info specific to the Telegram Bot
"""
"""Functions and Info specific to the Telegram Bot"""
import re
+1 -1
View File
@@ -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