flake8-docstrings-1.7.0
توضیحات
Extension for flake8 which uses pydocstyle to check docstrings
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flake8-docstrings-1.7.0 |
| نام | flake8-docstrings |
| نسخه کتابخانه | 1.7.0 |
| نگهدارنده | ['Ian Cordasco'] |
| ایمیل نگهدارنده | ['graffatcolmingov@gmail.com'] |
| نویسنده | Simon ANDRÉ |
| ایمیل نویسنده | sandre@anybox.fr |
| آدرس صفحه اصلی | https://github.com/pycqa/flake8-docstrings |
| آدرس اینترنتی | https://pypi.org/project/flake8-docstrings/ |
| مجوز | MIT |
flake8-docstrings
=================
A simple module that adds an extension for the fantastic pydocstyle_ tool to
flake8_.
Simply install this extension::
pip install flake8-docstrings
and run flake8.
You can set the pydocstyle convention_ at the command line using::
$ flake8 --docstring-convention numpy ...
Or, adding ``docstring-convention=numpy`` to your flake8 configuration file.
The available set of conventions depends on the version of pydocstyle installed.
The default is ``pep257``, pydocstyle v2.0.0 added ``numpy`` (for the numpydoc
standard), while pydocstyle v4.0.0 added ``google``.
In order to choose a custom list of error codes, use the special value
``docstring-convention=all``, then choose the codes you want checked using
flake8_'s built-in ``--ignore``/``--select`` functionality.
Report any issues on our `bug tracker`_.
.. _pydocstyle: https://github.com/pycqa/pydocstyle
.. _flake8: https://github.com/pycqa/flake8
.. _convention: http://www.pydocstyle.org/en/latest/error_codes.html#default-conventions
.. _bug tracker: https://github.com/pycqa/flake8-docstrings/issues
نیازمندی
| مقدار | نام |
|---|---|
| >=3 | flake8 |
| >=2.1 | pydocstyle |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl flake8-docstrings-1.7.0:
pip install flake8-docstrings-1.7.0.whl
نصب پکیج tar.gz flake8-docstrings-1.7.0:
pip install flake8-docstrings-1.7.0.tar.gz