added pre-commit in ci

4 jobs for mohr in 3 minutes and 54 seconds (queued for 7 seconds)