All Projects → PyCQA → Pydocstyle

PyCQA / Pydocstyle

Licence: mit
docstring style checker

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Pydocstyle

Postcss Bem Linter
A BEM linter for postcss
Stars: ✭ 505 (-32.85%)
Mutual labels:  linter
Devskim
DevSkim is a set of IDE plugins and rules that provide security "linting" capabilities.
Stars: ✭ 576 (-23.4%)
Mutual labels:  linter
Standard
🌟 JavaScript Style Guide, with linter & automatic code fixer
Stars: ✭ 26,433 (+3415.03%)
Mutual labels:  linter
Flake8 Bugbear
A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
Stars: ✭ 518 (-31.12%)
Mutual labels:  linter
Hadolint
Dockerfile linter, validate inline bash, written in Haskell
Stars: ✭ 6,284 (+735.64%)
Mutual labels:  linter
Stylelint Processor Styled Components
Lint your styled components with stylelint!
Stars: ✭ 639 (-15.03%)
Mutual labels:  linter
Textidote
Spelling, grammar and style checking on LaTeX documents
Stars: ✭ 483 (-35.77%)
Mutual labels:  linter
Dockerfilelint
An opinionated Dockerfile linter.
Stars: ✭ 736 (-2.13%)
Mutual labels:  linter
Undercover
Actionable code coverage - detects untested code blocks in recent changes
Stars: ✭ 574 (-23.67%)
Mutual labels:  linter
Pre Commit
A framework for managing and maintaining multi-language pre-commit hooks.
Stars: ✭ 7,024 (+834.04%)
Mutual labels:  linter
Pep8speaks
A GitHub app to automatically review Python code style over Pull Requests
Stars: ✭ 546 (-27.39%)
Mutual labels:  linter
Esprint
Fast eslint runner
Stars: ✭ 556 (-26.06%)
Mutual labels:  linter
Phplint
🐛 A tool that can speed up linting of php files by running several lint processes at once.
Stars: ✭ 646 (-14.1%)
Mutual labels:  linter
Oas Kit
Convert Swagger 2.0 definitions to OpenAPI 3.0 and resolve/validate/lint
Stars: ✭ 516 (-31.38%)
Mutual labels:  linter
Interfacer
A linter that suggests interface types
Stars: ✭ 706 (-6.12%)
Mutual labels:  linter
Zally
A minimalistic, simple-to-use API linter
Stars: ✭ 499 (-33.64%)
Mutual labels:  linter
Scalafix
Refactoring and linting tool for Scala
Stars: ✭ 597 (-20.61%)
Mutual labels:  linter
Ls Lint
An extremely fast directory and filename linter - Bring some structure to your project directories
Stars: ✭ 745 (-0.93%)
Mutual labels:  linter
Tslint
🚦 An extensible linter for the TypeScript language
Stars: ✭ 5,922 (+687.5%)
Mutual labels:  linter
Xo
❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
Stars: ✭ 6,277 (+734.71%)
Mutual labels:  linter

pydocstyle - docstring style checker

.. image:: https://github.com/PyCQA/pydocstyle/workflows/Run%20tests/badge.svg :target: https://github.com/PyCQA/pydocstyle/actions?query=workflow%3A%22Run+tests%22+branch%3Amaster

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

.. image:: https://img.shields.io/pypi/pyversions/pydocstyle.svg :target: https://pypi.org/project/pydocstyle

.. image:: https://pepy.tech/badge/pydocstyle :target: https://pepy.tech/project/pydocstyle

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black

.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336 :target: https://pycqa.github.io/isort/

pydocstyle is a static analysis tool for checking compliance with Python docstring conventions.

pydocstyle supports most of PEP 257 <http://www.python.org/dev/peps/pep-0257/>_ out of the box, but it should not be considered a reference implementation.

pydocstyle supports Python 3.6, 3.7 and 3.8.

Quick Start

Install ^^^^^^^

.. code::

pip install pydocstyle

Run ^^^^

.. code::

$ pydocstyle test.py
test.py:18 in private nested class `meta`:
        D101: Docstring missing
test.py:27 in public function `get_user`:
    D300: Use """triple double quotes""" (found '''-quotes)
test:75 in public function `init_database`:
    D201: No blank lines allowed before function docstring (found 1)
...

Links

  • Read the full documentation here <http://pydocstyle.org/en/stable/>_.

  • Fork pydocstyle on GitHub <http://github.com/PyCQA/pydocstyle>_.

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].