From 4259afd703d915fa9f3a5cdbc4496e878700ea0a Mon Sep 17 00:00:00 2001 From: Philipp Hofmann Date: Mon, 23 Jan 2023 11:39:18 +0100 Subject: [PATCH] chore: Remove args for no-commit-to-branch (#2641) main and master are default for no-commit-to-branch; see https://github.com/pre-commit/pre-commit-hooks#no-commit-to-branch. --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01fdea56b1e..265ac0b151a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,6 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: no-commit-to-branch - args: ["-b main"] - repo: local hooks: