add pre-commit configuration