ruff/crates/ruff_linter/src/rules/pyupgrade
Dan Parizher c06c3f9505
[`pyupgrade`] Fix false negative for `TypeVar` with default argument in `non-pep695-generic-class` (`UP046`) (#20660)
## Summary

Fixes #20656

---------

Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
2025-10-15 14:51:55 +00:00
..
rules [`pyupgrade`] Fix false negative for `TypeVar` with default argument in `non-pep695-generic-class` (`UP046`) (#20660) 2025-10-15 14:51:55 +00:00
snapshots [`pyupgrade`] Fix false negative for `TypeVar` with default argument in `non-pep695-generic-class` (`UP046`) (#20660) 2025-10-15 14:51:55 +00:00
fixes.rs Extract `LineIndex` independent methods from `Locator` (#13938) 2024-10-28 07:53:41 +00:00
helpers.rs Bump MSRV to Rust 1.80 (#13826) 2024-10-20 10:55:36 +02:00
mod.rs [`pyupgrade`] Fix false negative for `TypeVar` with default argument in `non-pep695-generic-class` (`UP046`) (#20660) 2025-10-15 14:51:55 +00:00
settings.rs `ruff server` now supports the `source.organizeImports` source action (#10652) 2024-04-04 22:20:50 +00:00
types.rs Split `Constant` to individual literal nodes (#8064) 2023-10-30 12:13:23 +05:30