b

black-pycharm

JetBrains

pablogsalgado · v—

Reformat (local) python code using black. Requirement: + `black` must be pre-installed.

Code Editing
Open in store ↗ id: 10563
Downloads
24K
24 189
Rating
4.1 ★
10 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 10 ratings
5★ 40.0%
4★ 10.0%
3★ 20.0%
1★ 30.0%

Reviews 8

★★★★★ Cristian 2021-04-16

I love this plugin, it's really easy to use and effective since Black' way to do integrate it (through External Tool) does not support Undo, i.e. ctrl or cmd + Z. Unfortunately, it's not working on Pycharm 2021.1

★★★★★ Thomas Pinna 2019-12-31

Simple plugin that works well! You can now edit the black binary to be used, which solves most problems from the other reviews. You can use toml files to configure the settings The default shortcut on mac didn't work with me, but after replacing it with cmd+option+B, everything worked nice and intuitive!

★★★★★ Andrew Jong 2019-03-01

Works well for me on Linux. My black is located at /usr/bin/black, so I created a symlink to /usr/local/bin/black and it worked just fine.

★★★★★ Ippei Ukai 2021-01-05

I use this regularly, and sincerely hope marked as compatible with latest PyCharm versions soon. (works fine as is, but gets disabled at every restart)

★★★★★ Christofer Bäcklin 2020-04-20

Works fine but I had do search the reviews to find out how to use it (on Mac). Please add usage instructions and it will be a 5 star plugin.

★★★★★ Daniel Zavala Svensson 2018-12-17

John Thornton, I had to dig into the source code to figure out what this plugin actually does: It replaces pyCharm default formatting with Black! So it triggers with Meta+Alt+L, and if you look at Code >> Reformat Code you will see that it now says Reformat Code (BLACK).

★★★★★ simon 2020-04-03

No instructions. How do you get it to work?

★★★★★ Andrew Gill 2019-12-11

Does not work on windows as it is hard coded to run /usr/local/bin/black would be helpful if this path was editable.

Similar in “Code Editing”