[ty] Improve diagnostics for unsupported comparison operations by AlexWaygood · Pull Request #21737 · astral-sh/ruff (original) (raw)
…er subdiagnostics for tuples
AlexWaygood added a commit that referenced this pull request
dcreager added a commit that referenced this pull request
- origin/main:
new module for parsing ranged suppressions (#21441)
[ty]
type[T]is assignable to an inferable typevar (#21766) Fix syntax error false positives forawaitoutside functions (#21763) [ty] Improve diagnostics for unsupported comparison operations (#21737)
dcreager added a commit that referenced this pull request
- origin/main:
[ty] Improve
@override,@finaland Liskov checks in cases where there are multiple reachable definitions (#21767) [ty] Extendinvalid-explicit-overrideto also cover properties decorated with@overridethat do not override anything (#21756) [ty] Enable LRU collection for parsed module (#21749) [ty] Support typevar-specialized dynamic types in generic type aliases (#21730) Add token basedparenthesized_rangesimplementation (#21738) [ty] Default-specialization of generic type aliases (#21765) [ty] Suppress false positives whendataclasses.dataclass(...)(cls)is called imperatively (#21729) [syntax-error] Default type parameter followed by non-default type parameter (#21657) new module for parsing ranged suppressions (#21441) [ty]type[T]is assignable to an inferable typevar (#21766) Fix syntax error false positives forawaitoutside functions (#21763) [ty] Improve diagnostics for unsupported comparison operations (#21737) MoveToken,TokenKindandTokenstoruff-python-ast(#21760) [ty] Don't confuse multiple occurrences oftyping.Selfwhen binding bound methods (#21754) Use our org-wide Renovate preset (#21759) Deletemy-script.py(#21751) [ty] Moveall_members, and related types/routines, out ofide_support.rs(#21695)
AlexWaygood added a commit that referenced this pull request
…orted augmented assignments (#21947)
Summary
This PR takes the improvements we made to unsupported-comparison
diagnostics in #21737, and extends
them to other unsupported-operator diagnostics.
Test Plan
Mdtests and snapshots
KotlinIsland pushed a commit to KotlinIsland/basedpython that referenced this pull request
…orted augmented assignments (#21947)
Summary
This PR takes the improvements we made to unsupported-comparison
diagnostics in astral-sh/ruff#21737, and extends
them to other unsupported-operator diagnostics.
Test Plan
Mdtests and snapshots
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
[ Show hidden characters]({{ revealButtonHref }})