python-black

A code formatter written in, and written for Python

Black is a code formatter written in Python, and reformats Python 2.x and 3.x code. Black reformats entire files in place. It is not configurable. It does not take previous formatting into account. The coding style enforced is a PEP-8 subset, adheres to PEP-257, and otherwise passes the rules of the "pycodestyle" checker. Black skips over blocks that start and end with "# fmt: off" and "# fmt: on", respectively. It also recognizes YAPF's block comments to the same effect.

沒有可用的 openSUSE Leap 15.5 官方套件

發行版

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

openSUSE Backports for SLE 15 SP3

SUSE SLE-15-SP2

SUSE SLE-15-SP1

SUSE SLE-12-SP5

Fedora Rawhide (unstable)

Fedora 40

Fedora 39

Fedora 38

CentOS CentOS-7

不支援的發行版本

下列發行版本並未被官方支援。使用這些套件需要自行承擔風險。