Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hk__2
18 days ago
|
parent
|
context
|
favorite
| on:
Advanced Python Features
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.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I tried Pyright but as you say on an existing project you need a looot of time to "fix" it.