ruff/crates/ruff_linter
Robsdedude a3638b3adc
[pyupgrade] Mark UP008 fix safe if no comments in range (#18683)
<!--
Thank you for contributing to Ruff/ty! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title? (Please prefix
with `[ty]` for ty pull
  requests.)
- Does this pull request include references to any relevant issues?
-->

## Summary
Mark `UP008`'s fix safe if it won't delete comments.

## Relevant Issues
Fixes: https://github.com/astral-sh/ruff/issues/18533

---------

Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
2025-06-30 09:42:05 -04:00
..
resources [pyupgrade] Mark UP008 fix safe if no comments in range (#18683) 2025-06-30 09:42:05 -04:00
src [pyupgrade] Mark UP008 fix safe if no comments in range (#18683) 2025-06-30 09:42:05 -04:00
Cargo.toml Convert OldDiagnostic::noqa_code to an Option<String> (#18946) 2025-06-27 11:36:55 -04:00