- Python 3.8
- Pipenv (
pip install Pipenv
)
This section assumes a working python 3.8 environment with Pipenv installed.
cp ec_api/settings/local.py.example ec_api/settings/local.py
- Install Python dependencies:
pipenv install --dev
- Run the test suite:
pytest
- Run lint checks:
ruff .
- Auto-format:
ruff format .
Using a pre-commit hook is suggested when working on this project to catch code standard issues before committing them.
Install the hooks with:
pre-commit install