ruff/crates/ruff_linter
Simon Brugman 4a2310b595
[flake8-pyi] Implement autofix for redundant-numeric-union (PYI041) (#14273)
## Summary

This PR adds autofix for `redundant-numeric-union` (`PYI041`)

There are some comments below to explain the reasoning behind some
choices that might help review.

<!-- What's the purpose of the change? What does it do, and why? -->

Resolves part of https://github.com/astral-sh/ruff/issues/14185.

## Test Plan

<!-- How was it tested? -->

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2024-11-16 18:13:23 +00:00
..
resources [flake8-pyi] Implement autofix for redundant-numeric-union (PYI041) (#14273) 2024-11-16 18:13:23 +00:00
src [flake8-pyi] Implement autofix for redundant-numeric-union (PYI041) (#14273) 2024-11-16 18:13:23 +00:00
Cargo.toml Bump version to 0.7.4 (#14358) 2024-11-15 11:17:32 +00:00