Skip to content

Commit eb63f70

Browse files
authored
feat(pre-commit): Add colon as valid scope sign
1 parent 47923ce commit eb63f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conventional_pre_commit/format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def r_types(types):
2323

2424
def r_scope():
2525
"""Regex str for an optional (scope)."""
26-
return r"(\([\w \/-]+\))?"
26+
return r"(\([\w \/-:]+\))?"
2727

2828

2929
def r_delim():

0 commit comments

Comments
 (0)