astral-sh/ruff
View on GitHub ↗ ★ 50,393 Rust
An extremely fast Python linter and code formatter, written in Rust.
79 mentions on Hacker News by 68 people: 9 stories, 70 comments · first 2022-08-30 · latest 2026-10-26
20082026
-
…option is now named `--output-format`, and it was only deprecated 3 weeks ago in version 0.0.291 ( https://github.com/astral-sh/ruff/releases/tag/v0.0.291 ). That's bound to break some CI pipelines, and definitely breaks the…
comment by kstrauser · 2023-10-17 · in Ruff v0.1.0 -
…things like https://learnpython.com/blog/python-match-case-statement/ + mypy + Ruff for linting https://github.com/astral-sh/ruff can get pretty good results. I found typed dataclasses ( https://docs.python.org/3/library/dataclasses.html )…
comment by kingkongjaffa · 2023-10-05 · in Ask HN: Why are all of the best back end web frameworks dynamically typed? -
…to implement all of the rules. OP, excellent idea, and also, hats off to the ruff team, really: https://github.com/astral-sh/ruff/issues/7248
comment by nbadg · 2023-09-11 · in Flake8-Logging -
…They also work just fine. Python tooling doesn't seem bad to me. [1] https://python-poetry.org/ [2] https://github.com/astral-sh/ruff [3] https://mypy-lang.org/
comment by r4indeer · 2023-07-08 · in ZeroVer: 0-Based Versioning -
Pylint has hundreds of rules that ruff doesn't have, yet; see this GitHub issue: https://github.com/charliermarsh/ruff/issues/689
comment by claytonjy · 2023-06-06 · in Ruff: A Fast Python Linter -
…and then manually run mypy or whatever type checker on occasion (maybe as a pre commit hook?). [0] https://github.com/charliermarsh/ruff
comment by eyegor · 2023-05-21 · in Writing Python like it's Rust -
This seems to have worked for Ruff in the Python world: https://github.com/charliermarsh/ruff It re-implements a bunch of popular linting rulesets & plugins in Rust and is incredibly fast, especially compared to the other tools.
comment by Timon3 · 2023-05-14 · in Rome v12.1: a linter formatter for TypeScript, JSX and JSON -
in the domain of Python tooling made faster with Rust, check out https://github.com/charliermarsh/ruff which is 10-100x faster than pylint etc
comment by swyx · 2023-03-30 · in Making Python faster with Rust -
…if it did all the things Pylint does, but Ruff still has a ways to go. They're tracking progress in https://github.com/charliermarsh/ruff/issues/970 .
comment by FreakLegion · 2023-03-06 · in Even the Pylint codebase uses Ruff -
See https://github.com/charliermarsh/ruff/issues/970 for a comparison between pylint and ruff
comment by SuperSandro2000 · 2023-03-06 · in Even the Pylint codebase uses Ruff -
There's a very clear graph the first thing on ruff's GitHub page, easy to find and research yourself: https://github.com/charliermarsh/ruff Can't miss it if you take time to check out the project.
comment by qbasic_forever · 2023-03-06 · in Even the Pylint codebase uses Ruff -
Ruff is another Python linter, written in Rust. https://github.com/charliermarsh/ruff
comment by mkl · 2023-03-06 · in Even the Pylint codebase uses Ruff -
…A lot of folks want us to add that kind of enforcement to Ruff ( https://github.com/charliermarsh/ruff/issues/458 ), and I want to do it, but it's a big project and some other stuff has higher priority :)
comment by charliermarsh · 2023-02-14 · in Ruff: A fast Python linter, written in Rust -
There's an issue tracking parity here: https://github.com/charliermarsh/ruff/issues/970 Though it's probably a bit conservative. Some rules are implemented as straight one-to-one ports from Pylint, and those are easy to check off, but…
comment by charliermarsh · 2023-02-14 · in Ruff: A fast Python linter, written in Rust -
…does look very promising. I’m personally waiting for them to reimplement most of Pylint’s checks. https://github.com/charliermarsh/ruff/issues/970
comment by Narushia · 2023-02-14 · in Ruff: A fast Python linter, written in Rust -
I just tried ruff last night and ran into the match-case support issue. I'm following https://github.com/charliermarsh/ruff/issues/282 and looking forward to trying ruff again once that issue is closed.
comment by bbkane · 2023-02-11 · in Google Python Style Guide -
…into Ruff, handles the whole codebase in less than second (vs minutes). Happy with it so far. https://github.com/charliermarsh/ruff This article also highlights some pain points I have with python. They say avoid big list comprehensions,…
comment by matsemann · 2023-02-11 · in Google Python Style Guide -
also for tool, see Ruff: https://github.com/charliermarsh/ruff (I'm a big fan!)
comment by patrick91 · 2023-01-16 · in Granian – a Rust HTTP server for Python applications -
Ok apparently it does: https://github.com/charliermarsh/ruff#how-does-ruffs-import-...
comment by stinos · 2022-12-22 · in Boring Python: Code quality -
yes it does. see see https://github.com/charliermarsh/ruff#supported-rules for the rules it supports. "IOO1" being the code for isort relevant section from my pyproject.toml [tool.ruff] line-length = 88 # pyflakes, pycodestyle, isort…
comment by captnswing · 2022-12-20 · in Boring Python: Code quality -
…aren’t happy with Flake8, Pylint, and isort (or maybe if you are!), I recommend checking out Ruff: https://github.com/charliermarsh/ruff It’s literally 100 times faster, with comparable coverage to Flake8 plus dozens of plugins, automatic…
comment by anderskaseorg · 2022-12-20 · in Boring Python: Code quality -
…I'd be curious to see functionality & performance comparisions if this project continues. [1] https://github.com/charliermarsh/ruff/blob/0b9e3f8b472dc3fd0...
comment by SSchick · 2022-08-31 · in Ruff – a fast Python Linter written in Rust -
▲ 148
Ruff – a fast Python Linter written in Ruststory by amrrs · 2022-08-31 · 46 comments
-
▲ 4
ruff – An extremely fast Python linter, written in Ruststory by charliermarsh · 2022-08-30 · 0 comments