Closed
Description
Is your feature request related to a problem?
Use more up-to-date typing styles on all files. Will reduce number of imports and avoids big diffs when doing relatively minor changes because pre-commit/pyupgrade has been triggered somehow.
Related to #6240
Describe the solution you'd like
Add from __future__ import annotations
on files with a lot of typing.
Let pyupgrade do the rest.
Describe alternatives you've considered
No response
Additional context
No response