Contributing¶
The whole development workflow is managed by a Makefile. conda is the only prerequisite to start developing. Other required tools will be installed in the development conda environment.
Manage environment:
make initto create the conda environment and do some other initialization.make upto update the conda environment.source ./activateto activate the conda environment.
Edit code:
make fmtto format source code consistently. Certain rules are forced automatically so we humans don’t need to care that much.make lintuntil all pass.make testuntil all pass.
Edit doc:
make docto build and open the doc for review.
Release:
Change
__version__(ingizio.__about__) from dev to production. From1.0.0.dev0to1.0.0for example. Update changelog and commit.make build.make publish-testto test publish on TestPyP.make publishto publish officially on PyPI.Change
__version__back to dev. From1.0.0to1.1.0.dev0for example. Commit.