Black
Opinionated formatter that rewrites Python code into one consistent style
Black is a code formatter for Python that rewrites source files into one fixed style, so developers do not have to settle layout questions by hand. It is aimed at Python programmers who want consistent formatting across a project.
The project is published under the MIT license with its source code on GitHub, and it is maintained by the Python Software Foundation. This Windows build is installed through winget and the project is free to use. Its repository also lists support for pre-commit hooks.
Alternatives to Black
Products that do a similar job in Developer Tools.
DevToys
Offline utility collection for everyday developer tasks
ShellCheck
Static analysis linter for bash and other shell scripts
PHP_CodeSniffer
Command-line checker that flags PHP code against coding standards
reviewdog
Posts linter output as code review comments on pull requests
SwiftFormat for Xcode
Xcode extension that reformats Swift source code
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
Hoppscotch
Open-source API client for REST, GraphQL and other HTTP requests