From 59ff0180ce149812e7c07a584404e1b7fd1dc183 Mon Sep 17 00:00:00 2001 From: SeSo Date: Tue, 19 Sep 2023 10:44:36 -0700 Subject: [PATCH] chore: add gitlint --- .gitlint | 2 +- .pre-commit-config.yaml | 2 +- requirements.txt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlint b/.gitlint index b130515a7e..3b0c47de03 100644 --- a/.gitlint +++ b/.gitlint @@ -67,7 +67,7 @@ contrib=contrib-title-conventional-commits # This is useful for when developers often erroneously edit certain files or git submodules. # By specifying this rule, developers can only change the file when they explicitly reference # it in the commit message. -files=.pipeline,schema/.cas-ggircs +# files=.pipeline,schema/.cas-ggircs # [author-valid-email] # python like regex (https://docs.python.org/2/library/re.html) that the diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 942462eb9e..652c41c779 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -64,7 +64,7 @@ repos: - id: gitleaks - repo: https://github.com/jorisroovers/gitlint - rev: v0.17.0 + rev: v0.19.1 hooks: - id: gitlint diff --git a/requirements.txt b/requirements.txt index 585d314143..fb8057df7b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ pre-commit==2.19.0 +gitlint==0.19.1