Logo
Explore Help
Sign In
Cyclic0007/ruff
1
0
Fork 0
You've already forked ruff
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
97d7b4693684753139b15f86bc796df9ee25e76e
ruff/crates/ty_python_semantic/resources/mdtest/narrow
History
Alex Waygood 5bf5f3682a [ty] Add tests for else branches of hasattr() narrowing (#18067)
## Summary

This addresses @sharkdp's post-merge review in
https://github.com/astral-sh/ruff/pull/18053#discussion_r2086190617

## Test Plan

`cargo test -p ty_python_semantic`
2025-05-13 09:57:53 -04:00
..
conditionals
Update class literal display to use <class 'Foo'> style (#17889)
2025-05-06 20:11:25 -04:00
assert.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
bool-call.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
boolean.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
hasattr.md
[ty] Add tests for else branches of hasattr() narrowing (#18067)
2025-05-13 09:57:53 -04:00
isinstance.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
issubclass.md
Update class literal display to use <class 'Foo'> style (#17889)
2025-05-06 20:11:25 -04:00
match.md
[ty] Understand classes that inherit from subscripted Protocol[] as generic (#17832)
2025-05-09 17:39:15 +01:00
post_if_statement.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
truthiness.md
Update class literal display to use <class 'Foo'> style (#17889)
2025-05-06 20:11:25 -04:00
type.md
Update class literal display to use <class 'Foo'> style (#17889)
2025-05-06 20:11:25 -04:00
while.md
Rename Red Knot (#17820)
2025-05-03 19:49:15 +02:00
Powered by Gitea Version: 1.25.3 Page: 154ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API