Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 2.27 KB

CONTRIBUTING.rst

File metadata and controls

50 lines (28 loc) · 2.27 KB

Contributing Guidelines

This project is mainly developed and maintained by @keurfonluu. Everyone is welcomed to participate to the development of this project either by:

  • Submitting bug reports and/or feature requests via issue tracker,
  • Fixing bugs and/or adding new features through a pull request.

If you wish to participate but are new to GitHub, please read GitHub's guide and do not hesitate to open an issue.

Contributing to the code

The first step to contributing is to fork and/or clone the repository. Additional Python libraries required for the development can be installed via the command:

pip install -r requirements-dev.txt

The code is formatted with black so you don't have to worry about code formatting. Docstrings follow NumPy's style guide and all public functions, classes and methods must come with a full description of input parameters and return outputs. To format both code and docstrings, simply run the command:

invoke format

Every new features must be unit tested in the directory test using the pytest framework. To run the test suite, run the command:

pytest

Any change to the source code must be submitted via a pull request such that it goes through the continuous integration service that verifies that the code is up to standards and passes all the unit tests.

Contributing to the documentation

The sources of the documentation are in the directory doc and are built using Sphinx. Required Sphinx's extensions can be installed via the command:

pip install -r doc/requirements.txt

To build the documentation:

cd doc
make html

Open the HTML file doc/_build/html/index.html in your browser to view the documentation generated by Sphinx.