[pre-commit] fix pre-commit complaints

5 jobs for master in 4 minutes and 45 seconds (queued for 6 seconds)