How to Install and Uninstall python3-yapf Package on openSUSE Leap

Last updated: November 25,2024

1. Install "python3-yapf" package

This guide let you learn how to install python3-yapf on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python3-yapf

2. Uninstall "python3-yapf" package

This guide let you learn how to uninstall python3-yapf on openSUSE Leap:

$ sudo zypper remove python3-yapf

3. Information about the python3-yapf package on openSUSE Leap

Information for package python3-yapf:
-------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python3-yapf
Version : 0.31.0-150400.5.69
Arch : noarch
Vendor : SUSE LLC
Installed Size : 830.2 KiB
Installed : No
Status : not installed
Source package : python3-yapf-0.31.0-150400.5.69.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.