Open
Description
@kumekay :
I would not duplicate existing regex, but would use ignore case flag:
re.IGNORECASE
- https://docs.python.org/3/library/re.html#re.I
- https://github.com/espressif/conventional-precommit-linter/pull/26/files#diff-45fad491a8be636292d6f98e7fdd59f16fb717070dbe4e670650c8bda27981f9R105
regex_scope = r'^[a-z0-9_/.,*-]*$'
if commit_scope and not re.match(regex_scope, commit_scope, re.I if args.scope_case_insensitive else 0):
...
But it's just a note for the future improvement