[LINT][PYTHON] Modernize annotations with ruff UP rules #18830
+3,699
−4,027
Merged
Loading