Skip to main content

Check signature params for proper documentation

Project description

License pypi CI codecov.io readthedocs.org python3.8 black

Check signature params for proper documentation

Currently only supports reStructuredText (Sphinx)

Installation

$ pip install docsig

Error Codes

Usage

Commandline

usage: docsig [-h] [-v] [-d LIST] [path [path ...]]

Check docstring matches signature

positional arguments:
  path                     directories or files to check

optional arguments:
  -h, --help               show this help message and exit
  -v, --version            show version and exit
  -d LIST, --disable LIST  comma separated list of rules to disable

Options can also be configured with the pyproject.toml file

[tool.docsig]
disable = [
    "E101",
    "E102",
    "E103",
]

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

docsig-0.12.0.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

docsig-0.12.0-py3-none-any.whl (13.8 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