Black
6.6#3 in code formattersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | Black | Fourmolu |
|---|---|---|
| CI integration | Black provides a GitHub Actions integration that supports GitHub-hosted runner operating systems. | The README recommends the run-fourmolu GitHub Action for keeping a project formatted. |
| Installation | Black installs with pip or pipx and requires Python 3.10 or later to run. | The project documents installation through GHCup, Cabal, Stack, and dotslash. |
| Purpose | Black is an opinionated formatter for Python code that follows PEP 8. | Fourmolu formats Haskell source code and is a configurable fork of Ormolu. |
Black suits Python developers who want consistent formatting with few style decisions. It can also suit teams using documented editor integrations or GitHub Actions.
It suits Haskell developers who want configurable source formatting, including teams seeking editor or CI integration. Developers using CPP or CRLF line endings should review its stated limitations.