- Setup a python 3.x venv (usually in
.venv
)- You can run
./scripts/create-venv.sh
to generate one
- You can run
pip3 install --upgrade pip
- Install pip-tools
pip3 install pip-tools
- Update dev requirements:
pip-compile --output-file=requirements.dev.txt requirements.dev.in
- Update requirements:
pip-compile --output-file=requirements.txt requirements.in
- Install dev requirements
pip3 install -r requirements.dev.txt
- Install requirements
pip3 install -r requirements.txt
pre-commit install
pip-compile --output-file=requirements.dev.txt requirements.dev.in --upgrade
pip-compile --output-file=requirements.txt requirements.in --upgrade
pre-commit run --all-files