diff options
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/lint-commit-msg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/lint-commit-msg.py b/ci/lint-commit-msg.py index 404621017e..4198ed4feb 100755 --- a/ci/lint-commit-msg.py +++ b/ci/lint-commit-msg.py @@ -74,6 +74,9 @@ def subsystem_prefix(body): def description_lowercase(body): if re.search(NO_PREFIX_WHITELIST, body[0]): return True + # Allow all caps for acronyms and such + if re.search(r":\s[A-Z]{2,}\s", body[0]): + return True return re.search(r":\s+[a-z0-9]", body[0]) @lint_rule("Subject line must not end with a full stop") |