ruff/crates/ruff_linter
David Salvisberg 33a56f198b
Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201)
Fixes: #17196

## Summary

Skipping these nodes for malformed type expressions would lead to
incorrect semantic state, which can in turn mean we emit false positives
for rules like `unused-variable`(`F841`)

## Test Plan

`cargo nextest run`
2025-04-04 18:47:40 +05:30
..
resources Implement Invalid rule provided as rule RUF102 with --fix (#17138) 2025-04-04 08:05:59 +00:00
src Don't skip visiting non-tuple slice in typing.Annotated subscripts (#17201) 2025-04-04 18:47:40 +05:30
Cargo.toml Bump 0.11.3 (#17173) 2025-04-03 09:05:40 -04:00