In particular for me it would be great to have a better typechecker than Pyright available for Zed (basically why the editor is a nonstarter right now).
That's a high bar!
Refer to the crates starting with red_knot in this directory to follow its development: https://github.com/astral-sh/ruff/tree/main/crates
The latest commit was only an hour ago.
They use the code internally but fail at making sure it has use externally. This is doubly the case for anything infrastructure
Buck2: Was released. Never could be built correctly without the latest nightly of Rust and even then it was fragile outside of Meta's build architecture
Sapling: Has a whole bunch of excitement and backing when it was announced. Has been essentially dead 3 mos after release.
I used to work for Meta infra. I know the MO. Have a hard time trusting.
Astral use-case is external and has a better chance of actually being supported.
Have not tried building Buck2 (no personal use for it), but its also actively developed: https://github.com/facebook/buck2/commits/main/
But I’ve had the same issue with too many warnings, mypy is better at understanding Python but even slower.
As for version bumping, maybe it’s just a me thing, but I hard fix a version and only update occasionally. Sure each update brings new warnings, but most of them are valid and if you only do it a couple times a year… not that big a deal.
The only thing I found it ‘missing’ was an indentation check (it’s in preview, I don’t turn on preview rules), but I realized it doesn’t matter because we also have a formatter running on everything.
The dependency on node makes it a PITA to set up in non-vs code environments as well.
koakuma-chan•3h ago
> INFO 5,240 errors shown, 65,932 errors ignored
Not a single Python type checker had ever worked for me so far.
kstrauser•3h ago
koakuma-chan•3h ago
I don't know. Some packages just don't work with type checkers, e.g. Django.
masklinn•2h ago
johnisgood•2h ago
kstrauser•1h ago
koakuma-chan•1h ago
kstrauser•1h ago
ipsum2•3h ago
koakuma-chan•3h ago
masklinn•2h ago
koakuma-chan•2h ago
Yossarrian22•2h ago
nerdponx•2h ago
krick•2h ago
koakuma-chan•2h ago
edit: most errors weren't actually import-error, I just misunderstood --search-path
ForHackernews•3h ago
IshKebab•2h ago
jon-wood•2h ago