From 682d4d1c3bddd89093c8a1871ba40dccbaab9d1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jim=20Br=C3=A4nnlund?= Date: Sun, 10 Sep 2023 11:54:31 +0200 Subject: [PATCH] chore: block commits to master (#734) --- .pre-commit-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2af89bc5..c0dff646 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,6 +21,8 @@ repos: - id: check-yaml - id: debug-statements language_version: python3 + - id: no-commit-to-branch + args: ['--branch', 'master'] - repo: https://github.com/PyCQA/flake8 rev: 4.0.1