add pre-commit check for master