[ty] Allow if type(x) is Y narrowing for types other than class-literal types by AlexWaygood · Pull Request #22729 · astral-sh/ruff (original) (raw)
carljm added a commit that referenced this pull request
- main: (149 commits)
Preserve required parentheses in lambda bodies (#22747)
[
flake8-simplify] Make fix unsafe if it deletes comments (SIM911) (#22661) [refurb] Make fix unsafe if it deletes comments (FURB145) (#22670) [ruff] Make fix unsafe if it deletes comments (RUF020) (#22664) [ty] Add README forty_completion_benchCLI tool [ty] Update completion eval [ty] Collect completions into a max-heap [ty] Truncate imports and qualifications derived from completions [ty] Get rid of high-level completion deduplication [ty] Refactor how we sort completions [ty] Optimize collection of "all symbols" [ty] Speed up completions by tweaking sorts [ty] Add newty_completion_benchfor ad hoc benchmarking gitignore: ignore scratch directories in completion eval truth directory [pyupgrade] Allow shadowing non-builtin bindings (UP029) (#22749) [ty] Emit invalid type form for stringified annotations (#22752) [ty] Allowif type(x) is Ynarrowing for types other than class-literal types (#22729) [ty] Add basic support for overloads inParamSpec(#21946) [ruff] Make fix unsafe if it deletes comments (RUF019) (#22663) [flake8-bugbear] Make fix unsafe if it deletes comments (B014) (#22659) ...
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 }})