Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: TT-305 testing commits
  • Loading branch information
bytesantiago committed Aug 5, 2021
commit 95f3e377b52776485ca5bdadac70fc782e2802b9
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
language: python
stages : [commit-msg]
- repo: https://github.com/psf/black
rev: stable
rev: 21.7b0
hooks:
- id: black
args: [--line-length=79, --skip-string-normalization]
Expand Down
2 changes: 1 addition & 1 deletion commons/git_hooks/enforce_semantic_commit_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

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

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

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