36 lines
549 B
Markdown
36 lines
549 B
Markdown
# Quick Test
|
|
|
|
Run quick validation of recent changes.
|
|
|
|
## Steps:
|
|
|
|
### 1. Run affected tests
|
|
```bash
|
|
# Find recently modified files
|
|
git diff --name-only HEAD~1 | grep "\.py$"
|
|
|
|
# Run tests for modified modules
|
|
uv run pytest -xvs [affected test files]
|
|
```
|
|
|
|
### 2. Format check
|
|
```bash
|
|
uv run black --check src/ tests/
|
|
```
|
|
|
|
### 3. Lint check
|
|
```bash
|
|
uv run ruff check src/ tests/
|
|
```
|
|
|
|
### 4. Type check modified files
|
|
```bash
|
|
uv run mypy [modified files]
|
|
```
|
|
|
|
### 5. File size check
|
|
```bash
|
|
./scripts/validate_loc.sh
|
|
```
|
|
|
|
Running quick validation now... |