Contributing to this project is highly appreciated and encouraged, but you will need to follow some guidelines
As a contributor (either by contributing to the program or by opening issues for ex.), you are required to abide by the Code of Conduct
All the development happens on the dev
branch, and not on the main
branch which is locked to the release code
To branch-off dev
:
git checkout dev
git checkout -b <feature/bug124>
Then push your PR against dev
All commits are to get GPG-signed before they can be merged into the repo, you can follow GitHub's onboarding about this
As for the end-user, this project relies on pipenv
for dependency management
You can install the required dev dependencies with the following commands
git clone <yourfork>/tcfig.git
cd tcfig
pipenv install --dev
pipenv shell
Code style is enforced through pre-commit which in turn will run autopep8
:
To prepare it, inside the pipenv
shell :
pre-commit install
Documentation is at the heart of the project, as such, we require a full docstring documentation for each function
Helpful in-code clarification comments are also welcome and encouraged
Documentation is served by read-the-docs using Sphinx
If you modified any of the docstrings on the script, you will need to run the following before running the following sphinx-build
command :
cd docs
sphinx-apidoc -f -o source/ ..
You can build the documentation locally with the following commands :
cd docs
sphinx-build source output-docs