Black

不折不扣的 Python 代码格式化器。「The uncompromising Python code formatter」

Github stars Tracking Chart

Black Logo

“Any color you like.”

Black is the uncompromising Python code formatter. By using it, you agree to cede
control over minutiae of hand-formatting. In return, Black gives you speed,
determinism, and freedom from pycodestyle nagging about formatting. You will save time
and mental energy for more important matters.

Blackened code looks the same regardless of the project you're reading. Formatting
becomes transparent after a while and you can focus on the content instead.

Black makes code review faster by producing the smallest diffs possible.

Try it out now using the Black Playground. Watch the
PyCon 2019 talk to learn more.


Contents: Installation and usage

Overview

Name With Ownerpsf/black
Primary LanguagePython
Program languagePython (Language Count: 4)
PlatformLinux, Mac, Windows
License:MIT License
Release Count59
Last Release Name24.4.0 (Posted on )
First Release Name18.3a0 (Posted on )
Created At2018-03-14 19:54:45
Pushed At2024-04-22 15:19:20
Last Commit At
Stargazers Count37.4k
Watchers Count232
Fork Count2.4k
Commits Count1.9k
Has Issues Enabled
Issues Count2563
Issue Open Count350
Pull Requests Count1429
Pull Requests Open Count30
Pull Requests Close Count259
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top