Python Black for Emacs
28.53 KB
built 2026-10-13 12:36:51 GMT
Description
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)
Dependencies
4 totalRequires3
- emacs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides1
- emacs-blacken = 0-0.19.20210406git880cf50.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| blacken-init.el | 516.00 B |
| emacs-blacken-880cf50.tar.gz | 14.49 KB |
| emacs-blacken.spec | 4.43 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
