4 ms·
I've been looking forward to this since the original announcement (and before, really). On the modest codebase I tried it on (14k LOC across 126 files), it run
by tiltowait 1y ago
I've been looking forward to this since the original announcement (and before, really).
On the modest codebase I tried it on (14k LOC across 126 files), it runs in 149ms compared to 1.66s in pyright (both run via uvx <tool>). I couldn't get it to play nicely with a poetry project, but it works fine (obviously) in a uv project.
Definitely some false-positives, as expected. Interestingly, it seems to hate the `dict()` initializer (e.g. `dict(foo="bar")`).
- SOLAR_FIELDS 1y agoOnly one order of magnitude? I thought it would be 2. Isn’t ruff 400x faster than the fastest Python alternative?
- Philpax 1y agoA type checker is much more algorithmically bound / difficult to parallelise, but I'm sure there are still wins to be had in the future.