Metadata-Version: 2.0
Name: docstringtest
Version: 0.1.0
Summary: Procedure to check for valid Sphinx ReST docstrings
Home-page: https://github.com/jakelever/docstringtest
Author: Jake Lever
Author-email: jake.lever@gmail.com
License: MIT
Keywords: docstring testing
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

docstringtest
-------------

|build-status| |coverage| |docs| |license|

.. |build-status| image:: https://travis-ci.org/jakelever/docstringtest.svg?branch=master
   :target: https://travis-ci.org/jakelever/docstringtest
   :alt: Travis CI status

.. |coverage| image:: https://coveralls.io/repos/github/jakelever/docstringtest/badge.svg?branch=master
   :target: https://coveralls.io/github/jakelever/docstringtest?branch=master
   :alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/docstringtest/badge/
   :target: http://docstringtest.readthedocs.io/
   :alt: Documentation status

.. |license| image:: https://img.shields.io/badge/License-MIT-blue.svg
   :target: https://opensource.org/licenses/MIT
   :alt: MIT license

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:

.. code-block:: python
   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. 



