Black is the uncompromising Python code formatter that takes total control over your Python code formatting in the best way. Black delivers speed and certainty, while freeing you from constant pycodestyle nagging. Your code review becomes a lot faster and easier, so you can spend more time and mental energy on more important things.

Blackened code makes the smallest diffs possible and looks the same no matter the project. Its formatting eventually becomes transparent, so you can simply forget about it and focus on your task at hand.

Black has been successfully used in many projects, and has gained stellar user reviews as an exceptional, uncompromising PEP 8 compliant opinionated formatter.

Features

  • Opinionated, non-configurable and consistent
  • Formatting turns transparent
  • Produces the smallest diffs
  • Conforms to PEP 8
  • Can read project-specific default values for its command line options from a pyproject.toml file
  • Editor integration through plugins

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow Black

Black Web Site

Other Useful Business Software
Cut Data Warehouse Costs up to 54% with BigQuery Icon
Cut Data Warehouse Costs up to 54% with BigQuery

Migrate from Snowflake, Databricks, or Redshift with free migration tools. Exabyte scale without the Exabyte price.

BigQuery delivers up to 54% lower TCO than cloud alternatives. Migrate from legacy or competing warehouses using free BigQuery Migration Service with automated SQL translation. Get serverless scale with no infrastructure to manage, compressed storage, and flexible pricing—pay per query or commit for deeper discounts. New customers get $300 in free credit.
Try BigQuery Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Black!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Code Formatters

Registered

2020-11-13