mypy
Enables the narrowing of variable types when checking a variable is "in" a collection.
#17344
Merged

Enables the narrowing of variable types when checking a variable is "in" a collection. #17344

Jordandev678
Jordandev678 Enable narrowing types using the "in" operator
fd85e875
Jordandev678 Add test case from #3229
3783f1d0
Jordandev678 Add list to narrowing.pyi for testTypeNarrowingStringInList
dae707d9
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
0c109692
github-actions
Jordandev678 Don't update if_map if item_type == collection_item_type
800741a3
Jordandev678 Merge branch 'master' into innarrowing
8c86ce14
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
0bb56898
github-actions
Jordandev678
Jordandev678
Jordandev678 Jordandev678 marked this pull request as ready for review 1 year ago
jakkdl
Jordandev678
jakkdl
hauntsaninja hauntsaninja added upnext
hauntsaninja
hauntsaninja approved these changes on 2024-07-24
hauntsaninja hauntsaninja merged ed0cd4ac into master 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone