Is your feature request related to a problem? Please describe.
The current codebase follows the older py39 target version in ruff configuration. Since the project now officially supports Python 3.10 and above, we should move to the target version to py310
FYI @fkiraly