[ bookworm ]
[ sid ]
[ 源代码: python-docformatter ]
软件包:python3-docformatter(1.7.5-1)
python3-docformatter 的相关链接
Debian 的资源:
下载源码包 python-docformatter:
- [python-docformatter_1.7.5-1.dsc]
- [python-docformatter_1.7.5.orig.tar.gz]
- [python-docformatter_1.7.5-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [github.com]
相似软件包:
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.
其他与 python3-docformatter 有关的软件包
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-charset-normalizer
- charset, encoding and language detection (Python 3)
-
- dep: python3-untokenize
- Untokenize transforms tokens into source code (Python 3)