| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: flake8_docstrings |
| 3 |
Version: 1.7.0 |
| 4 |
Summary: Extension for flake8 which uses pydocstyle to check docstrings |
| 5 |
Home-page: https://github.com/pycqa/flake8-docstrings |
| 6 |
Author: Simon ANDRÉ |
| 7 |
Author-email: [email protected] |
| 8 |
Maintainer: Ian Cordasco |
| 9 |
Maintainer-email: [email protected] |
| 10 |
License: MIT |
| 11 |
Keywords: PEP 257,pydocstyle,pep257,docstrings,flake8 |
| 12 |
Classifier: Environment :: Console |
| 13 |
Classifier: Intended Audience :: Developers |
| 14 |
Classifier: License :: OSI Approved :: MIT License |
| 15 |
Classifier: Operating System :: OS Independent |
| 16 |
Classifier: Programming Language :: Python :: 3 |
| 17 |
Classifier: Programming Language :: Python :: 3 :: Only |
| 18 |
Classifier: Programming Language :: Python :: Implementation :: CPython |
| 19 |
Provides: flake8_docstrings |
| 20 |
Requires-Python: >=3.7 |
| 21 |
Description-Content-Type: text/x-rst |
| 22 |
License-File: LICENSE |
| 23 |
|
| 24 |
flake8-docstrings |
| 25 |
================= |
| 26 |
|
| 27 |
A simple module that adds an extension for the fantastic pydocstyle_ tool to |
| 28 |
flake8_. |
| 29 |
|
| 30 |
Simply install this extension:: |
| 31 |
|
| 32 |
pip install flake8-docstrings |
| 33 |
|
| 34 |
and run flake8. |
| 35 |
|
| 36 |
You can set the pydocstyle convention_ at the command line using:: |
| 37 |
|
| 38 |
$ flake8 --docstring-convention numpy ... |
| 39 |
|
| 40 |
Or, adding ``docstring-convention=numpy`` to your flake8 configuration file. |
| 41 |
The available set of conventions depends on the version of pydocstyle installed. |
| 42 |
The default is ``pep257``, pydocstyle v2.0.0 added ``numpy`` (for the numpydoc |
| 43 |
standard), while pydocstyle v4.0.0 added ``google``. |
| 44 |
|
| 45 |
In order to choose a custom list of error codes, use the special value |
| 46 |
``docstring-convention=all``, then choose the codes you want checked using |
| 47 |
flake8_'s built-in ``--ignore``/``--select`` functionality. |
| 48 |
|
| 49 |
Report any issues on our `bug tracker`_. |
| 50 |
|
| 51 |
.. _pydocstyle: https://github.com/pycqa/pydocstyle |
| 52 |
.. _flake8: https://github.com/pycqa/flake8 |
| 53 |
.. _convention: http://www.pydocstyle.org/en/latest/error_codes.html#default-conventions |
| 54 |
.. _bug tracker: https://github.com/pycqa/flake8-docstrings/issues |