top | item 43918897 (no title) Handprint4469 | 9 months ago If you have uv installed, you can test it without installing by running: uvx ty check discuss order hn newest simonw|9 months ago Here's what I got against one of my larger open source projects: cd /tmp git clone https://github.com/simonw/sqlite-utils cd sqlite-utils uvx ty check Here's the output: https://gist.github.com/simonw/a13e1720b03e23783ae668eca7f6f...Adding "time uvx ty check" shows it took: uvx ty check 0.18s user 0.07s system 228% cpu 0.109 total diggan|9 months ago I'm not sure if it's using your environment correctly, or are you expecting ~150 errors? Lots of import errors, and I'm guessing most of the other ones are errors because it couldn't infer what was imported. alexmolas|9 months ago how does it compare against mypy? is it much faster? load replies (2) wdroz|9 months ago You can also install it "globally" for your user with: uv tool install ty Then you can use it anywhere ty check heavyset_go|9 months ago Can also do uv tool run ty If your $PATH sucks scosman|9 months ago Found 275 diagnostics0.56s user 0.14s system 302% cpu 0.231 totalDamn that's fast. And zero issues in this project with pyright so curious that these are... _carljm|9 months ago There's a good chance many of the errors we emit are incorrect, at this stage. Lots to do still! load replies (1)
simonw|9 months ago Here's what I got against one of my larger open source projects: cd /tmp git clone https://github.com/simonw/sqlite-utils cd sqlite-utils uvx ty check Here's the output: https://gist.github.com/simonw/a13e1720b03e23783ae668eca7f6f...Adding "time uvx ty check" shows it took: uvx ty check 0.18s user 0.07s system 228% cpu 0.109 total diggan|9 months ago I'm not sure if it's using your environment correctly, or are you expecting ~150 errors? Lots of import errors, and I'm guessing most of the other ones are errors because it couldn't infer what was imported. alexmolas|9 months ago how does it compare against mypy? is it much faster? load replies (2)
diggan|9 months ago I'm not sure if it's using your environment correctly, or are you expecting ~150 errors? Lots of import errors, and I'm guessing most of the other ones are errors because it couldn't infer what was imported.
wdroz|9 months ago You can also install it "globally" for your user with: uv tool install ty Then you can use it anywhere ty check heavyset_go|9 months ago Can also do uv tool run ty If your $PATH sucks
scosman|9 months ago Found 275 diagnostics0.56s user 0.14s system 302% cpu 0.231 totalDamn that's fast. And zero issues in this project with pyright so curious that these are... _carljm|9 months ago There's a good chance many of the errors we emit are incorrect, at this stage. Lots to do still! load replies (1)
_carljm|9 months ago There's a good chance many of the errors we emit are incorrect, at this stage. Lots to do still! load replies (1)
simonw|9 months ago
Adding "time uvx ty check" shows it took:
diggan|9 months ago
alexmolas|9 months ago
wdroz|9 months ago
heavyset_go|9 months ago
scosman|9 months ago
0.56s user 0.14s system 302% cpu 0.231 total
Damn that's fast. And zero issues in this project with pyright so curious that these are...
_carljm|9 months ago