How can I autofix/autoformat the lint errors of flake8 using black ?

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

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

    The uncompromising Python code formatter

  • I would rather set an ignore list for flake8. This is because one of the selling points of Black is to be The Uncompromising Code Formatter meaning there are few to None settings to change how it formats files. So you just have to come to terms with how it formats the files, or switch to another formater.

  • pyright

    Static Type Checker for Python

  • I am using https://github.com/microsoft/pyright (Or yeah. I've monkey patched together some stuff to make it work with vim)

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