METADATA 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Metadata-Version: 2.1
  2. Name: pydocstyle
  3. Version: 6.3.0
  4. Summary: Python docstring style checker
  5. Home-page: https://www.pydocstyle.org/en/stable/
  6. License: MIT
  7. Author: Amir Rachum
  8. Author-email: amir@rachum.com
  9. Requires-Python: >=3.6
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Environment :: Console
  12. Classifier: Intended Audience :: Developers
  13. Classifier: License :: OSI Approved :: MIT License
  14. Classifier: Operating System :: OS Independent
  15. Classifier: Programming Language :: Python :: 3
  16. Classifier: Programming Language :: Python :: 3.6
  17. Classifier: Programming Language :: Python :: 3.7
  18. Classifier: Programming Language :: Python :: 3.8
  19. Classifier: Programming Language :: Python :: 3.9
  20. Classifier: Programming Language :: Python :: 3.10
  21. Classifier: Programming Language :: Python :: 3.11
  22. Provides-Extra: toml
  23. Requires-Dist: importlib-metadata (>=2.0.0,<5.0.0) ; python_version < "3.8"
  24. Requires-Dist: snowballstemmer (>=2.2.0)
  25. Requires-Dist: tomli (>=1.2.3) ; (python_version < "3.11") and (extra == "toml")
  26. Project-URL: Documentation, https://www.pydocstyle.org/en/stable/
  27. Project-URL: Repository, https://github.com/PyCQA/pydocstyle
  28. Project-URL: Release Notes, https://www.pydocstyle.org/en/stable/release_notes.html
  29. Description-Content-Type: text/x-rst
  30. pydocstyle - docstring style checker
  31. ====================================
  32. .. image:: https://github.com/PyCQA/pydocstyle/workflows/Run%20tests/badge.svg
  33. :target: https://github.com/PyCQA/pydocstyle/actions?query=workflow%3A%22Run+tests%22+branch%3Amaster
  34. .. image:: https://readthedocs.org/projects/pydocstyle/badge/?version=latest
  35. :target: https://readthedocs.org/projects/pydocstyle/?badge=latest
  36. :alt: Documentation Status
  37. .. image:: https://img.shields.io/pypi/pyversions/pydocstyle.svg
  38. :target: https://pypi.org/project/pydocstyle
  39. .. image:: https://pepy.tech/badge/pydocstyle
  40. :target: https://pepy.tech/project/pydocstyle
  41. .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  42. :target: https://github.com/psf/black
  43. .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
  44. :target: https://pycqa.github.io/isort/
  45. .. image:: https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod
  46. :target: https://gitpod.io/#https://github.com/PyCQA/pydocstyle
  47. :alt: Gitpod ready-to-code
  48. **pydocstyle** is a static analysis tool for checking compliance with Python
  49. docstring conventions.
  50. **pydocstyle** supports most of
  51. `PEP 257 <http://www.python.org/dev/peps/pep-0257/>`_ out of the box, but it
  52. should not be considered a reference implementation.
  53. **pydocstyle** supports Python 3.6+.
  54. Quick Start
  55. -----------
  56. Install
  57. ^^^^^^^
  58. .. code::
  59. pip install pydocstyle
  60. Run
  61. ^^^
  62. .. code::
  63. $ pydocstyle test.py
  64. test.py:18 in private nested class `meta`:
  65. D101: Docstring missing
  66. test.py:27 in public function `get_user`:
  67. D300: Use """triple double quotes""" (found '''-quotes)
  68. test:75 in public function `init_database`:
  69. D201: No blank lines allowed before function docstring (found 1)
  70. ...
  71. Develop
  72. ^^^^^^^
  73. You can use Gitpod to run pre-configured dev environment in the cloud right from your browser -
  74. .. image:: https://gitpod.io/button/open-in-gitpod.svg
  75. :target: https://gitpod.io/#https://github.com/PyCQA/pydocstyle
  76. :alt: Open in Gitpod
  77. Before submitting a PR make sure that you run `make all`.
  78. Links
  79. -----
  80. * `Read the full documentation here <https://pydocstyle.org/en/stable/>`_.
  81. * `Fork pydocstyle on GitHub <https://github.com/PyCQA/pydocstyle>`_.
  82. * `PyPI project page <https://pypi.python.org/pypi/pydocstyle>`_.