Procedure to check for valid Sphinx ReST docstrings
Project description
docstringtest is a small package for regression testing of docstrings in Python code. It checks that all appropriate methods and functions are using ReST docstrings with parameter information so that nice documentation can be generated. This format looks like:
def example_function(varA,varB):
"""
This function does nothing
:param varA: The first variable
:param varB: The second variable
:type varA: The type of the first variable
:type varB: The type of the second variable
"""
pass
It makes it easy to check that the docstrings match with the current parameters so that documentation doesn’t become out-of-step with the code.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docstringtest-0.1.1.tar.gz
(3.2 kB
view hashes)