You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should be able to do this in mypy 1.7.0. After enabling this by default, new inference scheme will still be used as a fallback. And we can make it the main mechanism later on.
Is there any way for me, as a plain-old user, to opt-in ahead of time? I see a commandline option, but didn't find anything in the configuration reference.
I am not 100% sure, but you can try new_type_inference = true in the main section of config file. This flag is not supported for per-module configuration. But also I am going to make it default in master this or next week (and it will be released in 1.7.0).
Fixes#15906
I am adding `--old-type-inference` so people can disable the flag if
they have issues (for few releases). IIRC there will be some fallback in
`mypy_primer`, but last time I checked it was all correct. Also I don't
remember if we need to update some tests, but we will see.
I think we should be able to do this in mypy 1.7.0. After enabling this by default, new inference scheme will still be used as a fallback. And we can make it the main mechanism later on.
This is a follow-up for series started by #15287
The text was updated successfully, but these errors were encountered: