- Replace broad tradingagents/**/*.py E501 ignore with targeted
per-file ignores for agent files (LLM prompts), alpha_vantage_indicator,
y_finance (description strings), and reflection (prompt constant)
- Fix the two genuine logic-code E501 violations: break long log message
in stockstats_utils.py and ternary in yfinance_news.py
- Correct pytest version bound to >=8.3.0 (stable floor)
- Add ruff>=0.9.0 as dev dependency for local linter execution
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Reorganise cli/main.py imports: move load_dotenv() after all imports
so isort can sort cleanly; removes need for global E402 ignore
- Remove dead graph.process_signal() call (discarded LLM result)
- Drop E501 and E402 from global ruff ignore; fix resulting violations
in cli/main.py and cli/utils.py; add per-file E501 ignore for
tradingagents/** where LLM system prompt strings are intentionally long
- Remove # noqa: I001 from alpha_vantage.py; let isort sort alphabetically
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Restore alpha_vantage.py facade with explicit re-exports and __all__
- Restore agent_utils.py tool facade imports and expand __all__ to cover
all public names (prevents auto-fixer stripping re-exports in future)
- Consolidate fragmented per-function import blocks in interface.py into
single blocks; add combine-as-imports = true to ruff isort config
- Enable F403, F405, F841 in Ruff (remove from ignore list) and fix all
resulting violations: replace star imports in cli/main.py, setup.py,
and trading_graph.py with explicit imports; drop unused live/decision
assignments
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Point requirements.txt to pyproject.toml as single source of truth
- Resolve welcome.txt path relative to module for CLI portability
- Include cli/static files in package build
- Extract shared normalize_content for OpenAI Responses API and
Gemini 3 list-format responses into base_client.py
- Update README install and CLI usage instructions
- OpenAI: add GPT-5.4, GPT-5.4 Pro; remove o-series and legacy GPT-4o
- Anthropic: add Claude Opus 4.6, Sonnet 4.6; remove legacy 4.1/4.0/3.x
- Google: add Gemini 3.1 Pro, 3.1 Flash Lite; remove deprecated
gemini-3-pro-preview and Gemini 2.0 series
- xAI: clean up model list to match current API
- Simplify UnifiedChatOpenAI GPT-5 temperature handling
- Add missing tradingagents/__init__.py (fixes pip install building)