Contributing
Contents
Contributing#
Git branches policy#
What follows is a table of the git branches used in the repositories.
Pull requests must be opened on the dev
branch.
Branch |
Description |
Update schedule |
---|---|---|
|
the main branch |
every new release |
|
recent changes are merged here before a new release |
at will |
Development environment and contribution steps#
install
Python venv. See this answer as well
clone the repository
install the development environment
make install-dev
write or change code
write unit tests if relevant parts of the code have been added or changed
unit tests are run like this
make test
run this to install the Python program in your user directory
make install
Importante
add
~/.local/bin
to thePATH
enviroment variable to have a working executableif applicable update relevant documentation
to rebuild the documentation run
make doc
create a new pull request
Nota
Use .venv/bin/python3 -m ${module}
to run the Python program in
the development environment.