Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hk__2
11 months 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.
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.