File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workflow
2+
3+ ``` bash
4+ # Lint and style
5+ # Check for issues and fix automatically
6+ python -m ruff check src/ test/ --fix
7+ python -m ruff format src/ test/
8+
9+ # Typecheck (only done for src/)
10+ python -m mypy src/
11+
12+ # Run all tests
13+ python -m pytest tests/
14+
15+ # Run specific test file
16+ python -m pytest tests/test_client.py
17+ ```
18+
19+ # Codebase Structure
20+
21+ - ` src/claude_code_sdk/ ` - Main package
22+ - ` client.py ` - ClaudeSDKClient for interactive sessions
23+ - ` query.py ` - One-shot query function
24+ - ` types.py ` - Type definitions
25+ - ` _internal/ ` - Internal implementation details
26+ - ` transport/subprocess_cli.py ` - CLI subprocess management
27+ - ` message_parser.py ` - Message parsing logic
You can’t perform that action at this time.
0 commit comments