This is a template project for python projects.
- Pre-commit with
isort,yapf,flake8,trailing-whitespace,markdown, etc. - Setup script.
- Clone the repo and delete the
.git/folder - Change the
templatefolder to yourprojectname. - Replace all
templateword insetup.pywith yourprojectname.
# install formatter
pip install yapf
# install pre-commit tool
pip install pre-commit
pre-commit install
# manually check all files
pre-commit run --all-files# for development
python setup.py develop
# for deploy
python setup.py install