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
template
folder to yourprojectname
. - Replace all
template
word insetup.py
with 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