From 685332ede482488cec13a3d6c429d4f1e9b34960 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 31 Jul 2022 20:06:35 +0200 Subject: [PATCH] Update .pre-commit-config.yaml (#8811) --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 97da994..fe26ed5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,8 +15,9 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: + - id: no-commit-to-branch + args: ['--branch', 'master'] - id: end-of-file-fixer - stages: [commit] # avoid Colab update EOF issues - id: trailing-whitespace - id: check-case-conflict - id: check-yaml