formatting should definitely be in pre-commit though, otherwise you'll destroy diffs.