Shantanu

Results 383 comments of Shantanu

Thanks! Please don't force push to PRs after they've been reviewed. It makes reviewing the delta much harder, especially so when the force push includes a rebase. We squash commits...

You could also ``` [mypy-flask_sqlalchemy.*] follow_imports=skip ``` which would make it as if flask_sqlalchemy didn't have a py.typed, just like before v3

Currently we patch typeshed... Can we revert https://github.com/python/mypy/pull/13093 in this PR and see if everything works?

That's a lot of primer hits; how many of them actually help users?

In https://github.com/python/mypy/pull/13573, we see that we now encounter errors even on https://github.com/python/mypy/commit/da56c974a57688f5c7989ef3abd86cd1d1608793 , which is several days and commits before the first CI failure we saw

Oh interesting. I'd tested on 20.04 without being able to repro. Let me play around more...

If you're stumbling upon this, here is a codemod to help you automatically fix your code: https://github.com/hauntsaninja/no_implicit_optional

@twoertwein While stubtest should do something like this, it might be a little finnicky to get right. I assume your use case for this is to ignore errors from `deprecate_nonkeyword_arguments`?...

I'm sure there are several, but the only one I'm aware of that I use regularly of is the `??` shortcut in IPython to show function signatures. Sounds like I...

Actually, this should use pretty_callable