[Go to site: main page, start]

black

The uncompromising Python code formatter [Moved to: https://github.com/psf/black] (by python)

Black Alternatives

Similar projects and alternatives to black

  1. pre-commit

    226 black VS pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. isort

    45 black VS isort

    A Python utility / library to sort imports.

  4. pre-commit-hooks

    Some out-of-the-box hooks for pre-commit

  5. bandit

    29 black VS bandit

    Bandit is a tool designed to find common security issues in Python code.

  6. pytype

    28 black VS pytype

    A static type analyzer for Python code

  7. pyre-check

    25 black VS pyre-check

    Performant type-checking for python.

  8. Schemathesis

    24 black VS Schemathesis

    Catch API bugs before your users do

  9. pyupgrade

    23 black VS pyupgrade

    A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language.

  10. yapf

    22 black VS yapf

    A formatter for Python files

  11. flynt

    13 black VS flynt

    A tool to automatically convert old string literal formatting to f-strings

  12. mutmut

    7 black VS mutmut

    Mutation testing system

  13. autopep8

    18 black VS autopep8

    A tool that automatically formats Python code to conform to the PEP 8 style guide.

  14. Flake8

    42 black VS Flake8

    flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.

  15. blue

    6 black VS blue

    The slightly less uncompromising Python code formatter.

  16. awesome-python-code-formatters

    A curated list of awesome Python code formatters

  17. safety

    7 black VS safety

    Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.

  18. awesome-flake8-extensions

    :octocat: A curated awesome list of flake8 extensions. Feel free to contribute! :mortar_board:

  19. fastkml

    3 black VS fastkml

    Fast 🌍️ <KML /> processing for python

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better black alternative or higher similarity.

black discussion

Log in or Post with

black reviews and mentions

Posts with mentions or reviews of black. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-12.
  • A Tale of Two Kitchens - Hypermodernizing Your Python Code Base
    31 projects | dev.to | 12 Nov 2023
    To get all your code into a consistent format the next step is to run a formatter. I recommend black, the well-known uncompromising code formatter, which is the most popular choice. Alternatives to black are autoflake, prettier and yapf, if you do not agree with blacks constraints.
  • GitHub - Netflix-Skunkworks/policyuniverse: Parse and Process AWS IAM Policies, Statements, ARNs, and wildcards.
    3 projects | /r/Python | 4 Feb 2022
  • Make your Django project newbie contributor friendly with pre-commit
    5 projects | dev.to | 4 Jul 2021
    $ pre-commit install pre-commit installed at .git/hooks/pre-commit $ git add .pre-commit-config.yaml $ git commit -m "Add pre-commit config" [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://gitlab.com/pycqa/flake8. [INFO] Initializing environment for https://github.com/pycqa/isort. [INFO] Initializing environment for https://github.com/python/black. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://gitlab.com/pycqa/flake8. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pycqa/isort. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/python/black. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... Trim Trailing Whitespace.................................................Passed Check Yaml...............................................................Passed Check for merge conflicts................................................Passed Debug Statements (Python)............................(no files to check)Skipped Check for added large files..............................................Passed Fix requirements.txt.................................(no files to check)Skipped Check django project for potential problems..........(no files to check)Skipped Check django project for missing migrations..........(no files to check)Skipped flake8...............................................(no files to check)Skipped isort................................................(no files to check)Skipped black................................................(no files to check)Skipped
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic black repo stats
3
21,526
9.3
almost 5 years ago

python/black is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of black is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?