Skip to content

Commit 1cd32ed

Browse files
committed
Update README with improved tox documentation
1 parent b691d0e commit 1cd32ed

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,14 @@ tox -e integration
344344
tox -p # parallel execution
345345
```
346346

347+
You can also use tox via uv (if you have uv installed):
348+
349+
```bash
350+
# Same commands work with uv
351+
uv run tox -e lint
352+
uv run tox -e py311
353+
```
354+
347355
### Alternative: Direct pytest (for development)
348356

349357
```bash
@@ -359,9 +367,10 @@ pytest
359367

360368
Tox ensures consistent test environments between local development and CI:
361369
- Isolated virtual environments for each test run
362-
- Consistent dependency installation
363-
- Environment variable standardization
370+
- Consistent dependency installation across different Python versions
371+
- Environment variable standardization (NO_COLOR, FORCE_COLOR)
364372
- Cross-platform compatibility
373+
- Works reliably both with direct `tox` commands and via `uv run tox`
365374

366375
## Contributing
367376

0 commit comments

Comments
 (0)