| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
for more information, see https://pre-commit.ci
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
There was a problem hiding this comment.
Not sure I fully understand what the point is of adding the tests you've added in this file, since they all seem to be asserting undesirable behaviour
Sorry, something went wrong.
There was a problem hiding this comment.
It is not undersirable, it just a status-quo. It is expected to be working like this for now. We don't have any other expected behavior for now.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes, and the status quo is undesirable -- ideally, mypy would fully support @type_check_only. If somebody came along and implemented the feature in the future, I think it would be highly confusing if existing tests started failing as a result of the feature being implemented
Sorry, something went wrong.
There was a problem hiding this comment.
Ok, we now know that these tests work and can add them later.
I am actually interested in working on this further :)
Sorry, something went wrong.
There was a problem hiding this comment.
Looks great, thanks!
Sorry, something went wrong.
There was a problem hiding this comment.
Do we need the changes to the fixtures anymore, after the latest push?
Sorry, something went wrong.
There was a problem hiding this comment.
It is typing-full, it won't hurt.
Sorry, something went wrong.
There was a problem hiding this comment.
Sure, makes sense
Sorry, something went wrong.
|
Diff from mypy_primer, showing the effect of this PR on open source code: discord.py (https://github.com/Rapptz/discord.py): typechecking got 1.07x slower (148.4s -> 159.0s)
(Performance measurements are based on a single noisy sample)
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
There are several TODO items for the future (not this PR):
Refs #15146