Skip to content

[ty] add support for cyclic legacy generic protocols#20125

Merged
carljm merged 2 commits intomainfrom
cjm/cycliclegacygenericprotocols
Aug 28, 2025
Merged

[ty] add support for cyclic legacy generic protocols#20125
carljm merged 2 commits intomainfrom
cjm/cycliclegacygenericprotocols

Conversation

@carljm
Copy link
Contributor

@carljm carljm commented Aug 28, 2025

Summary

Just add the necessary Salsa cycle handling.

Test Plan

Added mdtest.

@carljm carljm added the ty Multi-file analysis & type inference label Aug 28, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 28, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@github-actions
Copy link
Contributor

github-actions bot commented Aug 28, 2025

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

@carljm carljm marked this pull request as ready for review August 28, 2025 03:39
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@carljm carljm force-pushed the cjm/cycliclegacygenericprotocols branch from aebed24 to eec5642 Compare August 28, 2025 16:53
@carljm carljm enabled auto-merge (squash) August 28, 2025 16:56
@carljm carljm merged commit 9363eec into main Aug 28, 2025
37 checks passed
@carljm carljm deleted the cjm/cycliclegacygenericprotocols branch August 28, 2025 16:58
dcreager added a commit that referenced this pull request Aug 28, 2025
* main:
  Fix mdtest ignore python code blocks (#20139)
  [ty] add support for cyclic legacy generic protocols (#20125)
  [ty] add cycle detection for find_legacy_typevars (#20124)
  Use new diff rendering format in tests (#20101)
  [ty] Fix 'too many cycle iterations' for unions of literals (#20137)
  [ty] No boundness analysis for implicit instance attributes (#20128)
  Bump 0.12.11 (#20136)
  [ty] Benchmarks for problematic implicit instance attributes cases (#20133)
  [`pyflakes`] Fix `allowed-unused-imports` matching for top-level modules (`F401`) (#20115)
  Move GitLab output rendering to `ruff_db` (#20117)
  [ty] Evaluate reachability of non-definitely-bound to Ambiguous (#19579)
  [ty] Introduce a representation for the top/bottom materialization of an invariant generic (#20076)
  [`flake8-async`] Implement `blocking-http-call-httpx` (`ASYNC212`) (#20091)
  [ty] print diagnostics with fully qualified name to disambiguate some cases (#19850)
  [`ruff`] Preserve relative whitespace in multi-line expressions (`RUF033`) (#19647)
second-ed pushed a commit to second-ed/ruff that referenced this pull request Sep 9, 2025
## Summary

Just add the necessary Salsa cycle handling.

## Test Plan

Added mdtest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants