Use pre-commits hooks in line with `mlr3` style guidelines, see https://github.com/mlr-org/mlr3/wiki/style-guide#automatic-styling-for-every-commit