Skip to content

dafrenchyman/PythonProjectTemplate

Repository files navigation

PythonProject

Setup for developement:

  • Setup a python 3.x venv (usually in .venv)
    • You can run ./scripts/create-venv.sh to generate one
  • 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

Update versions

pip-compile --output-file=requirements.dev.txt requirements.dev.in --upgrade pip-compile --output-file=requirements.txt requirements.in --upgrade

Run pre-commit locally.

pre-commit run --all-files

About

DO NOT FORK - Click "Use This Template"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages