Development Setup
Prerequisites
- Python 3.9 or higher
- Git
- pip
Setup
Clone the repository:
git clone https://github.com/inntran/tmo-api-python.git
cd tmo-api-python
Install development dependencies:
Running Tests
With coverage:
pytest tests/ --cov=tmo_api --cov-report=term
Code Quality
Run all checks:
# Format code
black src/tmo_api tests/
# Sort imports
isort src/tmo_api tests/
# Lint
flake8 src/tmo_api
# Type check
mypy src/tmo_api