For a fast Python linter and code formatter, the strongest matches are astral-sh/ruff (Ruff is a high-performance Python linting and formatting tool), super-linter/super-linter (Super-Linter is an orchestration tool that runs multiple linters) and oxc-project/oxc (Oxc is a high-performance linter and formatter for JavaScript). astral-sh/ty and psf/black round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
High-performance static analysis tools and automated code style formatters for optimizing Python development workflows.
Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases
Ruff is a high-performance Python linting and formatting tool built in Rust that delivers fast, unified linting and auto-formatting with extensive rule coverage and configuration, exactly matching the search for a combined linter/formatter.
Combination of multiple linters to run as a GitHub Action or standalone
Super-Linter is an orchestration tool that runs multiple linters across many languages, not a single unified Python lint-and-format tool; it's useful for CI but not the specific Python-focused tool you're looking for.
Oxc is a high-performance toolchain designed for the analysis, linting, formatting, and transformation of JavaScript and TypeScript codebases. It functions as a comprehensive static analysis engine and compiler-based utility, providing the infrastructure necessary to parse source code into high-performance abstract syntax trees and map complex module dependency graphs across entire projects. The project distinguishes itself through its use of multi-core parallel processing to maximize throughput during intensive tasks like linting and minification. It offers deep, type-aware static analysis t
Oxc is a high-performance linter and formatter for JavaScript and TypeScript, not Python — while it meets the speed and combined rule criteria, the wrong language ecosystem means it doesn't serve a Python project.
This project is a high-performance static type checker and comprehensive development toolkit for Python. It functions as a core analysis engine that identifies type inconsistencies and enforces code correctness, while simultaneously providing a language server implementation to deliver real-time diagnostics and intelligence directly within development environments. The tool distinguishes itself through a parallelized execution engine that maximizes performance across large-scale codebases and monorepo structures. It supports gradual type adoption, allowing developers to integrate type checkin
ty is a static type checker for Python, not a linter or formatter; it provides type diagnostics but does not enforce style rules or auto-format code.
This project is an uncompromising, deterministic code formatter for Python. It functions by parsing source code into an abstract syntax tree and regenerating it according to a rigid, opinionated set of style rules. By automating the formatting process, it eliminates manual style debates and configuration overhead, ensuring that code remains consistent across entire projects regardless of the original input. The tool distinguishes itself through its focus on speed and seamless integration into development workflows. It utilizes content-based file caching and parallel processing to maintain hig
Black is a fast and opinionated Python code formatter, but it does not perform linting for code issues, so it only covers the formatting half of the combined tool you're looking for.