[pre-commit.ci] pre-commit autoupdate
<!--pre-commit.ci start-->
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.6.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.6.3)
- [github.com/asottile/pyupgrade: v3.16.0 → v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0)
<!--pre-commit.ci end-->
Looks like we may need to do a mypy upgrade first before pursuing this first so closing