Python Black for Emacs
13.18 KB
built 2026-10-13 12:37:26 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
7 totalRequires6
- emacs(bin) >= 31.1
- python3-black
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides1
- emacs-blacken = 0-0.19.20210406git880cf50.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
6
Files 1–6 of 6
Component of
buildroots that installed this RPMNo Buildroots
