chore: fix ruff, ty, prettier (#25763)