Skip to main content

A linter for your Python code base that finds potentially outdated docstrings using version control.

Project description

PyPI - Python Version PyPI Documentation Status PyPI - License

Docsweeper is a linter for version controlled Python code bases that finds potentially outdated docstrings. Docsweeper interacts with the version control system to retrieve a full revision history of a given Python source file. For every code token in the file that has a docstring (see PEP 257), Docsweeper will analyze the version control history to determine

  1. in which revision the docstring has last been changed, and

  2. how often the source code that is referenced by the docstring has been altered since that revision.

This can help you quickly find potentially outdated docstrings in your Python code base.

Docsweeper can be used as a stand-alone application or as a plugin for the Flake8 linter.

Docsweeper supports the following version control systems:

Refer to the documentation for more information.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

docsweeper-1.2.1.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

docsweeper-1.2.1-py3-none-any.whl (27.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page