Django now uses black to format it's codebase

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • deps

    Django Enhancement Proposals

  • Django

    The Web framework for perfectionists with deadlines.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • blue

    The slightly less uncompromising Python code formatter.

  • You would like https://github.com/grantjenks/blue . Its like black, but, among a few other things, defaults to using single quotes.

  • darker

    Apply black reformatting to Python files only in regions changed since a given commit. For a practical usage example, see the blog post at https://dev.to/akaihola/improving-python-code-incrementally-3f7a

  • There's also Darker for only reformatting (using Black) the lines modified by commits.

  • black

    The uncompromising Python code formatter

  • This is the main issue with your argument. You're missing the whole point of Black. That's not there reason to force you into using double quotes. That's there reason to force you into using double quotes. The decision to normalise quotes was made before the decision of which quote type to use.

  • prettier-plugin-nunjucks

    [WIP] Prettier plugin to format Nunjucks

  • Yes, there’s Prettier. For Jinja, you can try the Nunjucks plugin.

  • prettier

    Prettier is an opinionated code formatter.

  • Yes, there’s Prettier. For Jinja, you can try the Nunjucks plugin.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • djhtml

    Django/Jinja template indenter

  • https://github.com/rtts/djhtml is basic, but useful in the few things it does!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts