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 PyPI - License Documentation Status Travis (.com) AppVeyor

Docsweeper is a linter for version controlled Python code bases that finds potentially outdated docstrings in your source files. For every code token in the file that has a docstring (see PEP 257), Docsweeper will interact with your Git or Mercurial version control system 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.

Used as a stand-alone application or as a plugin for the Flake8 linter, Docsweeper can be integrated into your code check-in or linting process easily and help you quickly determine which docstrings potentially contain obsolete information.

Compatibility

Docsweeper supports Linux, Mac, and Windows platforms that are compatible with Python 3.7 or newer. In addition to a working Python installation, you will also need at least one of the version control systems you intend to use Docsweeper with:

  1. Git v1.7.0 or newer, and/or

  2. Mercurial v5.2 or newer. This is the the first release of Mercurial with official support for Python 3.

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.5.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

docsweeper-1.2.5-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file docsweeper-1.2.5.tar.gz.

File metadata

  • Download URL: docsweeper-1.2.5.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for docsweeper-1.2.5.tar.gz
Algorithm Hash digest
SHA256 2a727ea57f208bb7f76d0b4be52abc9fb8d1fe433cb299f00117c0608c8493e1
MD5 4ef487c42498e1c8860b8527ddf2fe5c
BLAKE2b-256 86a96d20a50819540be5e6fc0f7737bcb4966d7ee35e28864e916151434279bf

See more details on using hashes here.

File details

Details for the file docsweeper-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: docsweeper-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for docsweeper-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 96f099693dcbd8e558db579af46c1da800139e1e76bd092a2ae54e1c6dfafb43
MD5 76bff727d62284622e7bc2c370bd736b
BLAKE2b-256 a7cb3a42d453b9b435a801f06f00befd1c1fd3f16c0cd053466958cd2961cdf1

See more details on using hashes here.

Supported by

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