Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’d be very happy if `def f(i=0)` would type i as a number-like, but right now it’s not typed at all: mypy "infers" its type as `Any`.

I tried Pyright but as you say on an existing project you need a looot of time to "fix" it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: