Hacker GitHub

← All repos

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

Mentions per year 79 mentions · busiest year 2023 (31)
20082026
  1. …detect. In my case ruff cannot fully replace my existing tools, but makes for a great companion. 1: https://github.com/charliermarsh/ruff/issues/970
    comment by Cort3z · 2023-04-19 · in Astral
  2. …realized that and was about to edit my comment. Found an issue tracking the black replacement bit: https://github.com/charliermarsh/ruff/issues/1904
    comment by almostdigital · 2023-04-18 · in Astral
  3. …include caching for other tools. It looks like the ruff benchmark is run with the `--no-cache` arg: https://github.com/charliermarsh/ruff/blob/main/CONTRIBUTING...
    comment by neuronexmachina · 2023-04-18 · in Astral
  4. > How does it compare with Pyflake8 in error messages? https://github.com/charliermarsh/ruff#rules > Ruff supports over 500 lint rules, many of which are inspired by popular tools like Flake8, isort, pyupgrade, and others. ... By default,…
    comment by neuronexmachina · 2023-04-18 · in Astral
  5. …of VC returns. But for now, I'm delighted and can't wait to see what the team comes up with. [1]: https://github.com/charliermarsh/ruff/issues/1904
    comment by akprasad · 2023-04-18 · in Astral
  6. 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
  7. …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
  8. 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
  9. 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
  10. 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
  11. …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
  12. 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
  13. …does look very promising. I’m personally waiting for them to reimplement most of Pylint’s checks. https://github.com/charliermarsh/ruff/issues/970
  14. 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
  15. …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
  16. also for tool, see Ruff: https://github.com/charliermarsh/ruff (I'm a big fan!)
  17. Ok apparently it does: https://github.com/charliermarsh/ruff#how-does-ruffs-import-...
    comment by stinos · 2022-12-22 · in Boring Python: Code quality
  18. 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
  19. …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
  20. …I'd be curious to see functionality & performance comparisions if this project continues. [1] https://github.com/charliermarsh/ruff/blob/0b9e3f8b472dc3fd0...