mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-06-16 21:06:15 +03:00
Clear the deferred full-repo lint backlog so the whole tree passes the strict ruff select (E,W,F,I,B,UP,C4,SIM). Mechanical fixes dominate: import sorting, pep585/604 annotations, dropped dead imports, and whitespace. The few semantic changes are behavior-preserving: declare __all__ on the agent_utils and alpha_vantage re-export hubs; expand 'from x import *' to explicit names; use immutable tuple defaults instead of mutable list defaults; contextlib.suppress for try/except/pass; and narrow an over-broad assertRaises.
16 lines
360 B
Python
16 lines
360 B
Python
from enum import Enum
|
|
|
|
|
|
class AnalystType(str, Enum):
|
|
MARKET = "market"
|
|
# Wire value stays "social" for saved-config and string-keyed-caller
|
|
# back-compat; the user-facing label is "Sentiment Analyst".
|
|
SOCIAL = "social"
|
|
NEWS = "news"
|
|
FUNDAMENTALS = "fundamentals"
|
|
|
|
|
|
class AssetType(str, Enum):
|
|
STOCK = "stock"
|
|
CRYPTO = "crypto"
|