Probably not required in this PR, but I feel we could move these validations out as a separate function 🤔 _Originally posted by @Lee-W in https://github.com/commitizen-tools/commitizen/pull/1195#discussion_r1709774497_