Ruff: A new, fast and correct Python checker/linter

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

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • ruff

    An extremely fast Python linter, written in Rust.

    I know there's attention to the pattern matching issue, but I want to explicitly mention that this is the biggest blocker for me in considering ruff.

  • ruff-pre-commit

    A pre-commit hook for Ruff.

    And here's a pre-commit hook to save us some time. https://github.com/charliermarsh/ruff-pre-commit

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • rust

    Empowering everyone to build reliable and efficient software.

    Rust also has other things like stricter pointer provenance, struct field reordering, more inlining, all of which could help with performance.

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

    Here are insights about flake8, black, and mypy and the amount of work that went into mypy seems … just massive?!

  • black

    The uncompromising Python code formatter

    Here are insights about flake8, black, and mypy and the amount of work that went into mypy seems … just massive?!

  • RIIR

    why not Rewrite It In Rust

    Yes, one can hope, but I wouldn't bet on it and I wouldn't suggest to RIIR. I don't want to be that person that pops up uncalled for and asks to Rewrite It In Rust. One might think "Oh it is just one additional issue to the ~2.2k already opened mypy issues" if they have at all realized that there are that many open issues.

  • mypy

    Optional static typing for Python

    Here are insights about flake8, black, and mypy and the amount of work that went into mypy seems … just massive?!

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • pyright

    Static Type Checker for Python

    I wonder how many learnt lessons went into pyright, which only has 7 open issues at the moment.

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