change to pre-commit format checking