How to Install and Uninstall python38-yapf Package on openSuSE Tumbleweed

Last updated: November 08,2024

1. Install "python38-yapf" package

In this section, we are going to explain the necessary steps to install python38-yapf on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python38-yapf

2. Uninstall "python38-yapf" package

Please follow the steps below to uninstall python38-yapf on openSuSE Tumbleweed:

$ sudo zypper remove python38-yapf

3. Information about the python38-yapf package on openSuSE Tumbleweed

Information for package python38-yapf:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python38-yapf
Version : 0.31.0-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 822,8 KiB
Installed : No
Status : not installed
Source package : python-yapf-0.31.0-1.2.src
Summary : A formatter for Python code
Description :
YAPF is based off clang-format and reformats it to the closest
formatting that conforms to the style guide, even if the original
code did not violate the style guide.
This is in contrast to other formatters like autopep8 and pep8ify
which are made to only remove lint errors from code, which has some
limitations, like, code that conforms to the PEP 8 guidelines may not
be reformatted.