ruff/crates/ruff_python_semantic
David Salvisberg c0b7c36d43
[ruff] Avoid false positives for RUF027 for typing context bindings. (#15037)
Closes #14000 

## Summary

For typing context bindings we know that they won't be available at
runtime. We shouldn't recommend a fix, that will result in name errors
at runtime.

## Test Plan

`cargo nextest run`
2024-12-18 08:50:49 +01:00
..
src [ruff] Avoid false positives for RUF027 for typing context bindings. (#15037) 2024-12-18 08:50:49 +01:00
Cargo.toml Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00