Binary package “python3-docformatter” in ubuntu jammy
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.
Source package
Published versions
- python3-docformatter 1.4-2 in amd64 (Proposed)
- python3-docformatter 1.4-2 in amd64 (Release)
- python3-docformatter 1.4-2 in arm64 (Proposed)
- python3-docformatter 1.4-2 in arm64 (Release)
- python3-docformatter 1.4-2 in armhf (Proposed)
- python3-docformatter 1.4-2 in armhf (Release)
- python3-docformatter 1.4-2 in i386 (Proposed)
- python3-docformatter 1.4-2 in i386 (Release)
- python3-docformatter 1.4-2 in ppc64el (Proposed)
- python3-docformatter 1.4-2 in ppc64el (Release)
- python3-docformatter 1.4-2 in riscv64 (Proposed)
- python3-docformatter 1.4-2 in riscv64 (Release)
- python3-docformatter 1.4-2 in s390x (Proposed)
- python3-docformatter 1.4-2 in s390x (Release)