ruff/crates/ty_python_semantic/resources/mdtest/scopes
Carl Meyer f8890b70c3
[ty] __file__ is always a string inside a Python module (#18071)
## Summary

Understand that `__file__` is always set and a `str` when looked up as
an implicit global from a Python file we are type checking.

## Test Plan

mdtests
2025-05-13 08:20:43 -07:00
..
builtin.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
eager.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
global.md [ty] Implement global handling and load-before-global-declaration syntax error (#17637) 2025-05-08 10:30:04 -04:00
moduletype_attrs.md [ty] __file__ is always a string inside a Python module (#18071) 2025-05-13 08:20:43 -07:00
nonlocal.md Rename Red Knot (#17820) 2025-05-03 19:49:15 +02:00
unbound.md Update class literal display to use <class 'Foo'> style (#17889) 2025-05-06 20:11:25 -04:00