Skip to main content

BD RD Docstring Checker

Usage

check_docstring PATH

where PATH can be a file or a directory. All Python scripts will be collected and checked.

Docstring Convention

Google style docstring ref1 ref2 ref3

def example_function(param1, param2):
    """
    This is an example of a function docstring.
    More descriptions go here.

    Args:
        param1 (int): The first parameter.
            Second line has to be indented.
        param2 (str): The second parameter.

    Returns:
        bool: True if successful, False otherwise.

    Raises:
        AttributeError: The ``Raises`` section is a list of all exceptions
            that are relevant to the interface.
        ValueError: If `param2` is equal to `param1`.
    """

    if param1 == param2:
        raise ValueError('param1 may not be equal to param2')
    return True

Last updated: 2021/11/19

Metadata

Release files for check-docstring 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for check-docstring 1.0.1
File Size Uploaded Provenance Actions
check-docstring-1.0.1.tar.gz 3.7 kB Without provenance Details for check-docstring-1.0.1.tar.gz

Release files / check-docstring-1.0.1.tar.gz

Download URL check-docstring-1.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
395ad6cd6e11a4527aafc0289b0caacc4cf4cd6f1163c2164900a2fdcc25a21a
BLAKE2b-256 checksum
How to use checksums
a98ec0983e84d0baca65b84e6e609e2909d397c9cc12aa269a166d6a6c512828
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.2.0 pkginfo/1.8.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

Security for check-docstring 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page