- Checks:
- black
- flake8
- isort
- mypy
- pytest
nixdirenv
Or without nix using virtualenv:
python39virtualenv
Run:
nix run . -- --example foo --example barShell:
nix developShell using direnv:
direnv allow .Run from shell:
python src/mypackage/__init__py --example foo --example barBuild and run prod:
nix build ./result/bin/mypackageSetup:
source ./scripts/venvRun:
mypackageSetup with fresh virtualenv:
source ./scripts/venv trueUpdate flake, rebuild requirements.txt and requirements-dev.txt:
./scripts/update