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

Last updated: November 08,2024

1. Install "python310-yapf" package

Please follow the steps below to install python310-yapf on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python310-yapf

2. Uninstall "python310-yapf" package

Please follow the guidelines below to uninstall python310-yapf on openSuSE Tumbleweed:

$ sudo zypper remove python310-yapf

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

Information for package python310-yapf:
---------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python310-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.