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.

There is no official package available for openSUSE Leap 16.0

Distributions

openSUSE Tumbleweed

openSUSE Leap 16.0

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Backports for SLE 15 SP7

openSUSE Backports for SLE 15 SP4

Fedora Rawhide (unstable)

home:alvistack Cominålté
25.12.0

Fedora 43

home:alvistack Cominålté
25.12.0

Fedora 42

home:alvistack Cominålté
25.12.0

Fedora 41

home:alvistack Cominålté
25.12.0

CentOS CentOS-8-Stream

CentOS CentOS-7

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.