Python module template
-
pipenv
Installation pipenv: https://github.com/pypa/pipenv#installation
-
Install environment by
Pipfile:Install specified packages latest version, if it not indicate version. Therefore, the reproduced environment is not always the same.
$ make init
-
Install environment by
Pipfile.lock:Install specified packages same version. Use this command when the environment created by
make initdoes not work.make syncinit
Run unit test:
make testFormat check and type-check:
make checkCode formatting by black:
make formatGenerate or update document by sphinx:
make gendocMIT