How to Install and Uninstall python312-python-lsp-black Package on openSuSE Tumbleweed

Last updated: December 27,2024

1. Install "python312-python-lsp-black" package

Please follow the guidelines below to install python312-python-lsp-black on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install python312-python-lsp-black

2. Uninstall "python312-python-lsp-black" package

This tutorial shows how to uninstall python312-python-lsp-black on openSuSE Tumbleweed:

$ sudo zypper remove python312-python-lsp-black

3. Information about the python312-python-lsp-black package on openSuSE Tumbleweed

Information for package python312-python-lsp-black:
---------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python312-python-lsp-black
Version : 2.0.0-2.1
Arch : noarch
Vendor : openSUSE
Installed Size : 25.0 KiB
Installed : No
Status : not installed
Source package : python-python-lsp-black-2.0.0-2.1.src
Upstream URL : https://github.com/python-lsp/python-lsp-black
Summary : Black plugin for the Python LSP Server
Description :
Black plugin for the Python LSP Server
To avoid unexpected results you should make sure yapf and autopep8 are not installed.
- pyls-black can either format an entire file or just the selected text.
- The code will only be formatted if it is syntactically valid Python.
- Text selections are treated as if they were a separate Python file.
Unfortunately this means you can't format an indented block of code.
- python-lsp-black will use your project's pyproject.toml if it has one.