From b4a742d8b1bcc24a4ad4cdc3bcc2cd16e611e967 Mon Sep 17 00:00:00 2001 From: "clara.bayley" Date: Tue, 9 Apr 2024 14:25:49 +0200 Subject: [PATCH] feat: add commit convention hook to pre-commit --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 50500bd8c..ae56a7804 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,3 +14,9 @@ repos: - id: cpplint args: [--linelength=100, "--filter=-runtime/references,-readability/braces,-build/include,-build/c++11"] types_or: [c, c++, cuda] +- repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.2.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + args: []