docs(claude): update uv commands

This commit is contained in:
smypmsa
2025-07-18 12:05:30 +00:00
parent 536a5dd6a5
commit 060a69da6e
+9 -18
View File
@@ -7,14 +7,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
### Environment Setup ### Environment Setup
```bash ```bash
# Create virtual environment and install dependencies # Create virtual environment and install dependencies
uv sync uv sync --extra dev
# Activate virtual environment # Activate virtual environment
source .venv/bin/activate # Unix/macOS source .venv/bin/activate # Unix/macOS
.venv\Scripts\activate # Windows .venv\Scripts\activate # Windows
# Install bot as editable package
uv pip install -e .
``` ```
### Running the Bot ### Running the Bot
@@ -23,30 +20,24 @@ uv pip install -e .
pump_bot pump_bot
# Run bot directly # Run bot directly
python -m src.bot_runner uv run src/bot_runner.py
# Run specific bot configuration
python -m src.bot_runner path/to/bot-config.yaml
``` ```
### Development Tools ### Development Tools
```bash ```bash
# Lint code with ruff # Run linting
ruff check . uv run ruff check src/
# Format code with ruff # Run formatting
ruff format . uv run ruff format src/
# Run both linting and formatting
ruff check . && ruff format .
``` ```
### Testing ### Testing
```bash ```bash
# Run individual test files # Run individual test files
python tests/test_block_listener.py uv run tests/test_block_listener.py
python tests/test_geyser_listener.py uv run tests/test_geyser_listener.py
python tests/test_logs_listener.py uv run tests/test_logs_listener.py
``` ```
## Architecture Overview ## Architecture Overview