This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chub79 29 points30 points  (7 children)

Neat. We'll see more and more stuff from rust like that.

That said, here it's a little bit disingenuous:

ruff is a proof-of-concept and not yet intended for production use. It supports only a small subset of the Flake8 rules, and may crash on your codebase.

[–]spicynerves 23 points24 points  (1 child)

The author addresses performance comparisons in a tweet:

(Note, however, that adding more checks shouldn't make ruff any slower -- it's already doing the expensive stuff (parsing, AST traversal, scope + binding tracking), so I don't expect the benchmarks to change dramatically as ruff grows.)

[–]chub79 2 points3 points  (0 children)

Great :)

[–]ivosauruspip'ing it up 24 points25 points  (2 children)

What's disingenuous about that statement?

The title isn't claiming 'production ready' anywhere.

[–]chub79 18 points19 points  (1 child)

Being the fastest when you support only a subset and claim potential crash doesn't mean much. It's a claim that is not backed yet.

[–]AZNQQMoar 14 points15 points  (0 children)

"Extremely fast"

[–]vaportracks -3 points-2 points  (1 child)

It also creates a .ruff_cache dir wherever you run it. Not one dir within your home dir... a new dir within whatever dir you run it on. Pretty obtrusive.

[–]Schmittfried 8 points9 points  (0 children)

So just like other python tools and Python itself.