Skip to content

Commit 0ba1b51

Browse files
authored
Tt 305 tags semantic release (#318)
* refactor: TT-305 remove the style commit tag * Revert "refactor: TT-305 remove the style commit tag" This reverts commit 934b988. * remove the style commit tag * Revert "remove the style commit tag" This reverts commit 59d4dbd. * refactor: TT-305 remove the style commit tag * Revert "refactor: TT-305 remove the style commit tag" This reverts commit 6345220. * refactor: TT-305 remove style tag from semantic commit message checker * ci: TT-305 testing commits * Revert "ci: TT-305 testing commits" This reverts commit 95f3e37. * Revert "Revert "ci: TT-305 testing commits"" This reverts commit 9f1819d. * test: TT-305 testing commits * docs: TT-305 testing commit and added a dot in README.md * refactor: TT-305 add code-smell tag * code-smell: TT-305 test tag
1 parent bd5b4fc commit 0ba1b51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repos:
99
language: python
1010
stages : [commit-msg]
1111
- repo: https://github.com/psf/black
12-
rev: stable
12+
rev: 21.7b0
1313
hooks:
1414
- id: black
1515
args: [--line-length=79, --skip-string-normalization]

commons/git_hooks/enforce_semantic_commit_msg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
SUCCESS_MSG = "Commit succeed!. Semantic commit message is correct."
1515

16-
COMMIT_MSG_REGEX = r'(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert)(\([\w\-]+\))?: TT-[0-9]+ .*'
16+
COMMIT_MSG_REGEX = r'(build|ci|docs|feat|fix|perf|refactor|test|chore|revert|code-smell)(\([\w\-]+\))?: TT-[0-9]+ .*'
1717

1818
# Get the commit message file
1919
commit_msg_file = open(sys.argv[1]) # The first argument is the file

0 commit comments

Comments
 (0)