docs: Update README.md

This commit is contained in:
yakhyo
2025-11-26 00:05:40 +09:00
parent 84cda5f56c
commit 0a2a10e165

View File

@@ -394,12 +394,28 @@ pip install -e ".[dev]"
# Run tests # Run tests
pytest pytest
# Format code
black uniface/
isort uniface/
``` ```
### Code Formatting
This project uses [Ruff](https://docs.astral.sh/ruff/) for linting and formatting.
```bash
# Format code
ruff format .
# Check for linting errors
ruff check .
# Auto-fix linting errors
ruff check . --fix
```
Ruff configuration is in `pyproject.toml`. Key settings:
- Line length: 120
- Python target: 3.10+
- Import sorting: `uniface` as first-party
### Project Structure ### Project Structure
``` ```