diff --git a/.github/scripts/lintcommit.py b/.github/scripts/lintcommit.py index 37f0d51..b6faaa4 100644 --- a/.github/scripts/lintcommit.py +++ b/.github/scripts/lintcommit.py @@ -81,9 +81,6 @@ def validate_subject(subject_line: str) -> str | None: if subject.endswith("."): return "subject must not end with a period" - if subject != subject.lower(): - return "subject must be lowercase" - return None diff --git a/.github/scripts/tests/test_lintcommit.py b/.github/scripts/tests/test_lintcommit.py index 93d8670..98547cf 100644 --- a/.github/scripts/tests/test_lintcommit.py +++ b/.github/scripts/tests/test_lintcommit.py @@ -116,10 +116,6 @@ def test_subject_uppercase() -> None: assert validate_subject("feat: Add new feature") == "subject must be lowercase" -def test_subject_uppercase_acronym_rejected() -> None: - assert validate_subject("ci: configure CI/CD") == "subject must be lowercase" - - # region validate_message