Development¶
# Install dev dependencies
pip install -e ".[dev]"
# Run linter and formatter
ruff check src/ && ruff format src/
# Run tests
python -m pytest tests/ -v
# Run tests with coverage
python -m pytest tests/ --cov=paperless_bot --cov-report=term-missing
Contributing¶
Contributions are welcome. Please:
- Fork the repository
- Create a feature branch (
feat/my-featureorfix/my-bug) - Follow the existing code style (enforced by
ruff) - Add tests for new functionality
- Submit a pull request
This project follows Conventional Commits and Semantic Versioning.