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

Last updated: September 28,2024

1. Install "python39-yapf" package

This is a short guide on how to install python39-yapf on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python39-yapf

2. Uninstall "python39-yapf" package

This guide covers the steps necessary to uninstall python39-yapf on openSuSE Tumbleweed:

$ sudo zypper remove python39-yapf

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

Information for package python39-yapf:
--------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python39-yapf
Version : 0.40.2-1.2
Arch : noarch
Vendor : openSUSE
Installed Size : 1.1 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.