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.

  • Version 19.3b0
  • Size 164 KB
  • openSUSE Tumbleweed
Direct Install

Distributions

openSUSE Tumbleweed

official release Official
19.3b0

19.3b0
devel:languages:python Experimental
19.3b0
openSUSE:Factory:RISCV Experimental
19.3b0
19.3b0
19.3b0
19.3b0

openSUSE Leap 15.1

19.3b0
Cloud:OpenStack:Master Experimental
19.3b0
devel:languages:python Experimental
19.3b0
19.3b0
19.3b0

openSUSE Leap 15.0

Cloud:OpenStack:Master Experimental
19.3b0
19.3b0

SUSE SLE-15

19.3b0