Skip to main content

Python docstring style checker

Project description

pep257 is a static analysis tool for checking compliance with Python PEP 257.

The framework for checking docstring style is flexible, and custom checks can be easily added, for example to cover NumPy docstring conventions.

pep257 supports Python 2.6, 2.7, 3.2, 3.3, 3.4, pypy and pypy3.

Quick Start

Install

pip install pep257

Run

$ pep257 test.py
test.py:18 in private nested class `meta`:
        D101: Docstring missing
test.py:22 in public method `method`:
        D102: Docstring missing
...

Project details


Download files

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

Source Distribution

pep257-0.6.0.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file pep257-0.6.0.tar.gz.

File metadata

  • Download URL: pep257-0.6.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pep257-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1a788a987598e2369a7a3aea86c4aac2be2f2289ecdca21797aaf56f2fca964d
MD5 2152a2d3cd94af4a57e50e9b790700a0
BLAKE2b-256 ccf306baea43d90145fffd5c3b3e4bade17405f460ab25ea6ac848f1b38e0927

See more details on using hashes here.

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