From 8e1b243cfebd228c0191d52ccb55a2c1763247e2 Mon Sep 17 00:00:00 2001 From: F-G Fernandez <26927750+frgfm@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:02:01 +0100 Subject: [PATCH] style(precommit): add commit msg hook --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4cbb58e4..b9389b1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,6 +21,11 @@ repos: args: ['--branch', 'main'] - id: requirements-txt-fixer - id: trailing-whitespace + - repo: https://github.com/compilerla/conventional-pre-commit + rev: 'v3.6.0' + hooks: + - id: conventional-pre-commit + stages: [commit-msg] - repo: https://github.com/charliermarsh/ruff-pre-commit rev: 'v0.8.4' hooks: