Consistent Python code with Black

This page summarizes the projects mentioned and recommended in the original post on dev.to

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

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

  • One of those configurations choices is... drumroll please... Black configuration! The details of this setup are explained in the Version control integration section of the documentation, but the short version is to add the following to .pre-commit-config.yaml:

  • Travis CI.com

    Free continuous integration platform for GitHub projects.

  • If you're working on a team to develop a software project and you're not using Continuous Integration, then (please!) consider using a service like Travis CI or Circle CI. After a bit of setup, Continuous Integration tools and services can save so much time by checking for bugs, running your tests automatically, and building your code.

  • 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
  • pre-commit

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

  • Then I found pre-commit. pre-commit makes hook scripts extremely accessible to teams. How?

  • git

    A fork of Git containing Windows-specific patches. (by git-for-windows)

  • (One word of caution before you try this yourself: Black will change your code files. If you only want to experiment with this, I strongly encourage you to use a version control tool like Git or work from a copy.)

  • black

    The uncompromising Python code formatter

  • Now is the perfect time to introduce Black.

  • 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
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