ruff/.github
David Peter 5ca9c15fc8
[ty] Better invalid-assignment diagnostics (#21476)
## Summary

Improve the diagnostic range for `invalid-assignment` diagnostics, and
add source annotations for the value and target type.

closes https://github.com/astral-sh/ty/issues/1556

### Before

<img width="836" height="601" alt="image"
src="https://github.com/user-attachments/assets/a48219bb-58a8-4a83-b290-d09ef50ce5f0"
/>

### After

<img width="857" height="742" alt="image"
src="https://github.com/user-attachments/assets/cfcaa4f4-94fb-459e-8d64-97050dfecb50"
/>

## Ecosystem impact

Very good! Due to the wider diagnostic range, we now pick up more `#
type: ignore` directives that were supposed to suppress an invalid
assignment diagnostic.

## Test Plan

New snapshot tests
2025-11-18 14:31:04 +01:00
..
ISSUE_TEMPLATE Add link to `ty` issue tracker (#17924) 2025-05-07 16:33:27 +00:00
workflows [ty] Better invalid-assignment diagnostics (#21476) 2025-11-18 14:31:04 +01:00
CODEOWNERS Remove myself as a codeowner from some ty crates (#19738) 2025-08-04 10:23:13 +00:00
PULL_REQUEST_TEMPLATE.md [ty] contribution guide (#18061) 2025-05-13 10:55:01 +02:00
actionlint.yaml Use Depot Windows runners for `cargo test` (#18754) 2025-06-18 10:52:24 -05:00
mypy-primer-ty.toml [ty] disable division-by-zero by default (#18220) 2025-05-20 14:47:56 -04:00
renovate.json5 Instruct Renovate to pin GitHub Actions based on SHA (#16789) 2025-03-17 07:44:59 +00:00
zizmor.yml chore: bump dist, remove old commenting workflows (#21302) 2025-11-07 17:09:29 -05:00