Python Black for Emacs
Blacken uses black to format a Python buffer. It can be called explicitly on a certain buffer, but more conveniently, a minor-mode 'blacken-mode' is provided that turns on automatically running black on a buffer before saving. To automatically format all Python buffers before saving, add the function blacken-mode to python-mode-hook: (add-hook 'python-mode-hook 'blacken-mode)
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 0-0.14.20210406git880cf50.fc41 | - |
Fedora 41 | 0-0.14.20210406git880cf50.fc41 | - |
Fedora 40 | 0-0.13.20210406git880cf50.fc40 | - |
Fedora 39 | 0-0.11.20210406git880cf50.fc39 | - |
You can contact the maintainers of this package via email at
emacs-blacken dash maintainers at fedoraproject dot org
.