Skip to content

Commit 895d4f9

Browse files
committed
test(pre-commit): check for Git merge conflict markers
1 parent 69458b2 commit 895d4f9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ ci:
1717
submodules: false
1818
default_stages: [pre-commit]
1919
repos:
20+
- repo: https://github.com/pre-commit/pre-commit-hooks
21+
rev: v5.0.0
22+
hooks:
23+
- id: check-merge-conflict
24+
name: Check for Git merge conflicts
25+
args: [--assume-in-merge]
26+
exclude: ^docs/AUTHORS.rst$
2027
- repo: https://github.com/dafyddj/mirrors-commitlint
2128
rev: v19.8.1
2229
hooks:

0 commit comments

Comments
 (0)