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

Last updated: September 28,2024

1. Install "python312-yapf" package

Please follow the guidelines below to install python312-yapf on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-yapf

2. Uninstall "python312-yapf" package

Here is a brief guide to show you how to uninstall python312-yapf on openSuSE Tumbleweed:

$ sudo zypper remove python312-yapf

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

Information for package python312-yapf:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-yapf
Version : 0.40.2-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 1.3 MiB
Installed : No
Status : not installed
Source package : python-yapf-0.40.2-1.2.src
Upstream URL : https://github.com/google/yapf
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.