From ad7d44bb308421f901242082a5bd1967d079c1e5 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 31 Jul 2022 20:05:56 +0200 Subject: [PATCH] Update .pre-commit-config.yaml --- .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 97da994e2917..fe26ed5a93a5 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