Hacker News
Pyrefly v1.0 is here (fast type checker and language server for Python)
38 points by ocamoss
ago
|
9 comments
perarneng
|next
[-]
Fun thing, today (1 hour ago) the 13:th may i was lookig for a typechecker with AI in what is popular right now because these things changes. I have been following pyrefly and ty before. Then i decided to go with pyrefly and added it. Noticed it was 1.0.0 which as odd because that is very special. How could i have missed that. Then I checked the blog and saw it was released yesterday. What a happy surprise to get a 1.0 as fresh delivery straight in to my project. Nice work!
5Qn8mNbc2FNCiVV
|next
|previous
[-]
I wish there was a config to error when a inferred type is either Any or Unknown so we can spot these locations. The report has it, but seeing it in the IDE would be great
aitchnyu
|next
|previous
[-]
Wish Django Stubs dont need a Mypy plugin
https://github.com/typeddjango/django-stubs
ducdetronquito
|root
|parent
[-]
I use django-types(1), which is far from perfect but does a good enough job for my usecases.
I think that Django's magic isn't statically typecheckable, so I tend to avoid those features altogether. If it's not possible, you can still provide a custom stubs for your needs, or provide a custom abstraction that wraps the not-typechecked parts, or accept that some parts of your codebase are less safe to modify than others. Nothing perfect, but it works.
bbor
|next
|previous
[-]
Funny what HN randomly misses sometimes -- this is huge news! Congrats to you and the team.