How to Install and Uninstall python3-docformatter Package on Kali Linux

Last updated: May 03,2024

1. Install "python3-docformatter" package

This guide covers the steps necessary to install python3-docformatter on Kali Linux

$ sudo apt update $ sudo apt install python3-docformatter

2. Uninstall "python3-docformatter" package

Please follow the steps below to uninstall python3-docformatter on Kali Linux:

$ sudo apt remove python3-docformatter $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-docformatter package on Kali Linux

Package: python3-docformatter
Source: python-docformatter
Version: 1.7.5-1
Installed-Size: 130
Maintainer: Debian Python Team
Architecture: all
Depends: python3-charset-normalizer, python3-untokenize, python3:any
Size: 28420
SHA256: 07a14aed877a8a5af0b95d199b87af3aadc260e5bd0ac30b0b67d1cac78b9e20
SHA1: ccbe51f1ff481885bb469170a10d0826a2b8f34a
MD5sum: 64c8501f3425b50508375ac3b90c958b
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.
Description-md5:
Homepage: https://github.com/PyCQA/docformatter
Section: python
Priority: optional
Filename: pool/main/p/python-docformatter/python3-docformatter_1.7.5-1_all.deb