Logo
Explore Help
Sign In
Python/ruff
1
0
Fork 0
You've already forked ruff
mirror of https://github.com/astral-sh/ruff synced 2026-01-21 05:20:49 -05:00
Code Issues Packages Projects Releases Wiki Activity
Files
9dddd73c292b477fc96fbb6ff233cd46c7caa3ca
ruff/crates/red_knot_python_semantic/resources/mdtest/subscript
History
TomerBin 34a5d7cb7f [red-knot] Infer type of if-expression if test has statically known truthiness (#14048)
## Summary

Detecting statically known truthy or falsy test in if expressions
(ternary).

## Test Plan

new mdtest
2024-11-01 12:23:18 -07:00
..
bytes.md
[red-knot] Slice expression types & subscript expressions with slices (#13917)
2024-10-29 10:17:31 +01:00
class.md
[red-knot] Infer type of if-expression if test has statically known truthiness (#14048)
2024-11-01 12:23:18 -07:00
instance.md
[red-knot] Format mdtest Python snippets more concisely (#13905)
2024-10-24 11:09:31 +00:00
lists.md
[red-knot] have mdformat wrap mdtest files to 100 columns (#14020)
2024-10-31 21:00:51 +00:00
stepsize_zero.md
[red-knot] have mdformat wrap mdtest files to 100 columns (#14020)
2024-10-31 21:00:51 +00:00
string.md
[red-knot] Minor follow-up on slice expression inference (#13982)
2024-10-29 19:40:57 +00:00
tuple.md
[red-knot] Slice expression types & subscript expressions with slices (#13917)
2024-10-29 10:17:31 +01:00
Powered by Gitea Version: 1.25.3 Page: 56ms Template: 3ms
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