DEV Community

Tankala Ashok
Tankala Ashok

Posted on

Ruff: Internals of a Rust-backed Python linter-formatter - Part 1 | by Abdur-Rahmaan Janhangeer

Abdur-Rahmaan Janhangeer went to great lengths to explain what Ruff is & how Ruff works. Explained what all the rules of many packages from scratch implemented, how it started by Charlie Marsh and many more things.

Ruff: Internals of a Rust-backed Python linter-formatter - Part 1

Ruff is a Python linter that is extremely fast, deriving its speed from Rust. Companies use linters to ensure that the codebase is as they like. And so, they code rules in linters to ensure they enforce the rules they want. Typically, linters are run on submitting pull requests or on committing when using pre-commit. If the time taken to run linters on each commit falls in the minutes range, which happens for big codebases, it becomes annoying.

favicon compileralchemy.substack.com

Top comments (0)