1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
Source: python-docformatter
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Adam Cecile <acecile@le-vert.net>
Build-Depends:
debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools,
python3-untokenize,
help2man,
python3-pytest <!nocheck>,
Standards-Version: 4.6.1
Homepage: https://github.com/myint/docformatter
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-docformatter
Vcs-Git: https://salsa.debian.org/python-team/packages/python-docformatter.git
Testsuite: autopkgtest-pkg-python
Rules-Requires-Root: no
Package: python3-docformatter
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
Description: Formats docstrings to follow Python PEP 257 (Python 3)
Docformatter currently automatically formats docstrings to follow a subset
of the PEP 257 conventions.
.
Below are the relevant items quoted from PEP 257:
.
* For consistency, always use triple double quotes around docstrings,
* Triple quotes are used even though the string fits on one line,
* Multi-line docstrings consist of a summary line just like a one-line
docstring, followed by a blank line, followed by a more elaborate
description,
* Unless the entire docstring fits on a line, place the closing quotes on
a line by themselves.
.
Docformatter also handles some of the PEP 8 conventions:
.
* Don't write string literals that rely on significant trailing whitespace
Such trailing whitespace is visually indistinguishable and some editors
(or more recently, reindent.py) will trim them.
.
This package installs the library for Python 3.
|