How to Install and Uninstall python2-docformatter Package on openSUSE Leap
Last updated: November 08,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "python2-docformatter" package
Please follow the guidelines below to install python2-docformatter on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python2-docformatter
Copied
2. Uninstall "python2-docformatter" package
Here is a brief guide to show you how to uninstall python2-docformatter on openSUSE Leap:
$
sudo zypper remove
python2-docformatter
Copied
3. Information about the python2-docformatter package on openSUSE Leap
Information for package python2-docformatter:
---------------------------------------------
Repository : Main Repository
Name : python2-docformatter
Version : 1.1-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 70,2 KiB
Installed : No
Status : not installed
Source package : python-docformatter-1.1-bp153.1.14.src
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.
---------------------------------------------
Repository : Main Repository
Name : python2-docformatter
Version : 1.1-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 70,2 KiB
Installed : No
Status : not installed
Source package : python-docformatter-1.1-bp153.1.14.src
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.