.. _contributing:
Contributing
============
Style guide
-----------
Follow the recommendations from `PEP 8 – Style Guide for Python Code `_.
Docstring
---------
Docstrings should use the reStructuredText (reST) format. For details see, e.g., `this stackoverflow question `_, the `Sphinx + ReadTheDocs documentation `_ or the example below.
Example:
.. code-block:: python
This is a reStructuredText style.
"""
:param param1: first param
:type param1: type of first param
:return: description of what is returned
:rtype: type of return value
:raises keyError: raises an exception
"""
Further reading:
- `PEP 257 – Docstring Conventions `_
- `PEP 287 - reStructuredText Docstring Format `_