Name : python311-docformatter
| |
Version : 1.4
| Vendor : SUSE LLC < https://www_suse_com/>
|
Release : lp160.2.1
| Date : 2024-08-31 15:02:05
|
Group : Development/Languages/Python
| Source RPM : python-docformatter-1.4-lp160.2.1.src.rpm
|
Size : 0.11 MB
| |
Packager : https://bugzilla_suse_com
| |
Summary : Utility to re-format docstrings per PEP 257
|
Description :
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. - The BDFL recommends inserting a blank line between the last paragraph in a multi-line docstring and its closing quotes, placing 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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/python:/backports/16.0/noarch |