Add CI workflow and update CLAUDE.md with test/lint docs#2
Merged
Conversation
- Add GitHub Actions workflow that runs pytest, ruff, and mypy on every PR - Tests run across Python 3.10, 3.11, and 3.12 - Update CLAUDE.md to document existing test suite and dev dependencies https://claude.ai/code/session_01WRceUfdXFKs15hhJ3TQhhn
- trader/test_dca_engine.py (56 tests): DCA triggers, rate limiting, trailing profit margin, entry conditions, cost basis, utility functions - thinker/test_signal_engine.py (35 tests): signal level counting, bound price parsing, purple area, training freshness gate - trainer/test_memory.py (32 tests): memory I/O, checkpoints, pattern distance, progress tracking, stop signal - Update plan.md Phase 8 to reflect current state and mark migration points for when Phase 4 extracts standalone engine classes Total: 221 tests passing (86 core + 123 new + 12 shared) https://claude.ai/code/session_01WRceUfdXFKs15hhJ3TQhhn
- Remove unused imports (json, os, Path, ModuleType, pytest) - Sort import blocks (isort) - Rename unpacked `client` to `_client` (RUF059) - Apply ruff formatter https://claude.ai/code/session_01WRceUfdXFKs15hhJ3TQhhn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://claude.ai/code/session_01WRceUfdXFKs15hhJ3TQhhn