Skip to content

Commit

Permalink
chore: add gitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sepehr-Sobhani committed Sep 19, 2023
1 parent 6a1fffb commit 307b9ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ repos:
- id: gitleaks

- repo: https://github.com/jorisroovers/gitlint
rev: v0.17.0
rev: v0.19.1
hooks:
- id: gitlint

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pre-commit==2.19.0
gitlint==0.19.1

0 comments on commit 307b9ab

Please sign in to comment.