Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pep257

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pep257

Python docstring style checker

  • 0.7.0
  • PyPI
  • Socket score

Maintainers
2

PEP 257 docstring style checker

pep257 is a static analysis tool for checking compliance with Python PEP 257 <http://www.python.org/dev/peps/pep-0257/>_.

The framework for checking docstring style is flexible, and custom checks can be easily added, for example to cover NumPy docstring conventions <https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt>_.

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

Quick Start

Install ^^^^^^^

.. code::

pip install pep257

Run ^^^

.. code::

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

.. image:: https://travis-ci.org/GreenSteam/pep257.svg?branch=master :target: https://travis-ci.org/GreenSteam/pep257

.. image:: https://readthedocs.org/projects/pep257/badge/?version=latest :target: https://readthedocs.org/projects/pep257/?badge=latest :alt: Documentation Status

  • Read the full documentation here <http://pep257.readthedocs.org>_.

  • Fork pep257 on GitHub <http://github.com/GreenSteam/pep257>_.

  • PyPI project page <https://pypi.python.org/pypi/pep257>_.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc