←back to thread

740 points chirau | 2 comments | | HN request time: 0.548s | source
Show context
eats_indigo ◴[] No.44358123[source]
Love UV!

Also love Ruff from the Astral team. We just cut our linting + formatting across from pylint + Black to Ruff.

Saw lint times drop from 90 seconds to < 1.5 seconds. crazy stuff.

replies(1): >>44360451 #
greatgib ◴[] No.44360451[source]
Until the moment you will realize that ruff perform only a part of pylint checks and that very obvious mistakes can go through easily like code that can't run because of an obvious error.
replies(2): >>44361049 #>>44361337 #
oblio ◴[] No.44361049[source]
Which checks is it missing?
replies(1): >>44361563 #
js2 ◴[] No.44361563[source]
Many, but it also has many that pylint does not. I use them both, ruff first, followed by pylint.

https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compa...

https://github.com/astral-sh/ruff/issues/970

replies(1): >>44363536 #
1. _flux ◴[] No.44363536[source]
Seems though mypy/pyright/pyre/pyrefly or the future ty could bridge the gap, if one is writing typed python?
replies(1): >>44364575 #
2. greatgib ◴[] No.44364575[source]
The big question will be to know if tools will still be fast once they will have added the tests that are missing.