Black

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

Github星跟踪图

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

概览

名称与所有者psf/black
主编程语言Python
编程语言Python (语言数: 4)
平台Linux, Mac, Windows
许可证MIT License
发布数61
最新版本名称24.4.2 (发布于 )
第一版名称18.3a0 (发布于 )
创建于2018-03-14 19:54:45
推送于2024-05-13 12:32:40
最后一次提交
星数37.5k
关注者数232
派生数2.4k
提交数1.9k
已启用问题?
问题数2578
打开的问题数349
拉请求数1450
打开的拉请求数29
关闭的拉请求数260
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部