[pre-commit] fix pre-commit complaints

5 jobs for master in 4 minutes and 45 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_37 #227045
docker

00:03:53

38.0%
passed build_linux_38 #227046
docker

00:03:40

38.0%
passed build_macos_intel_37 #227043
macos intel

00:02:10

passed build_macos_intel_38 #227044
macos intel

00:02:09

 
  Deploy
passed deploy_beta #227047
docker

00:00:52