[ty] Support narrowing with aliased conditional expressions#23937
Draft
[ty] Support narrowing with aliased conditional expressions#23937
Conversation
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 87.94%. The percentage of expected errors that received a diagnostic held steady at 83.36%. The number of fully passing files held steady at 79/133. |
Memory usage reportSummary
Significant changesClick to expand detailed breakdownprefect
sphinx
trio
flake8
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
invalid-argument-type |
2 | 0 | 0 |
unused-type-ignore-comment |
1 | 0 | 0 |
| Total | 3 | 0 | 0 |
Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.
Raw diff:
discord.py (https://github.com/Rapptz/discord.py)
+ discord/ext/commands/view.py:151:53 error[invalid-argument-type] Argument to `ExpectedClosingQuoteError.__init__` is incorrect: Expected `str`, found `str | None`
+ discord/ext/commands/view.py:162:57 error[invalid-argument-type] Argument to `ExpectedClosingQuoteError.__init__` is incorrect: Expected `str`, found `str | None`
static-frame (https://github.com/static-frame/static-frame)
+ static_frame/core/index_hierarchy.py:1903:49 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
Merging this PR will not alter performance
Comparing Footnotes
|
f876929 to
de49ca6
Compare
|
a5185d3 to
bed2995
Compare
83ccce0 to
28dedf8
Compare
28dedf8 to
61f3951
Compare
a938efa to
6e225aa
Compare
0896823 to
e29cc48
Compare
a9261ba to
cbb8f56
Compare
f4fd36d to
339fc69
Compare
339fc69 to
4954d09
Compare
5a6cf74 to
87e334f
Compare
c3488d2 to
47334bb
Compare
36da824 to
1433707
Compare
1433707 to
1bbd0fd
Compare
|
c4da201 to
7b7a08a
Compare
7b7a08a to
9c7bdb9
Compare
178f5d3 to
cb6569a
Compare
cb6569a to
76cb30b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes astral-sh/ty#719
Test Plan
new mdtest: narrow/aliased_conditions.md