How to write a docstring ======================== All functionality needs to have a documentation string (`docstrings `_). The convention used in Nashpy is to follow `Numpy's docstring convention `_:: def (): """ Parameters ---------- : : ... : Returns ------- """ If the function/method does not return anything but is instead a **generator** then :code:`Returns` should be replaced with :code:`Yields`. How to check dosctrings in a module ----------------------------------- Running tests with :ref:`tox ` will automatically check formatting of docstrings. If you want to check a specific file, use `darglint `_:: $ python -m pip install darglint $ darglint -s numpy