Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[red-knot] More precise inference for chained boolean expressions #15089

Merged
merged 3 commits into from
Dec 22, 2024

Conversation

InSyncWithFoo
Copy link
Contributor

Summary

Resolves #13632.

Test Plan

Markdown tests.

Copy link
Contributor

github-actions bot commented Dec 21, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the red-knot Multi-file analysis & type inference label Dec 21, 2024
Copy link
Contributor

@carljm carljm left a comment

Choose a reason for hiding this comment

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

Thanks! A few comments.

Copy link
Contributor

@carljm carljm left a comment

Choose a reason for hiding this comment

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

Looks great, thank you!

@carljm carljm merged commit 3b27d5d into astral-sh:main Dec 22, 2024
21 checks passed
@InSyncWithFoo InSyncWithFoo deleted the rk-chained-booleans branch December 22, 2024 19:02
carljm added a commit that referenced this pull request Dec 23, 2024
… in boolean tests (#15105)

## Summary

Follow-up to #15089.

## Test Plan

Markdown tests.

---------

Co-authored-by: Carl Meyer <carl@astral.sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[red-knot] more precise types from chained boolean expressions
3 participants