Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 673 Bytes

README.md

File metadata and controls

48 lines (36 loc) · 673 Bytes

Python Project Template

Start your python project with a template

Start with the cookiecutter

pip install cookiecutter
cookiecutter https://github.com/protagolabs/python-project-template 
# answer the question
...

Switch to your directory

cd your-project-folder

Venv and dependencies

poetry shell # source venv
poetry install # install deps
pre-commit install # install git pre commit hooks

Devloping

git init

# coding

git add .
git commit -m "commit message" # format by pre-commit
git push

Useful scripts

make format
make static
make test

More

文档