Replace pyupgrade with builtin Ruff's UP rule
#8606
+193
−252
Merged
Loading