8000 tools/verifygitlog.py: Allow long co-author and sign-off names. by DvdGiessen · Pull Request #17302 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

tools/verifygitlog.py: Allow long co-author and sign-off names. #17302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
8 changes: 6 additions & 2 deletions tools/verifygitlog.py
6803
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,12 @@ def verify_message_body(raw_body, err):

# Message body lines.
for line in raw_body[2:]:
# Long lines with URLs are exempt from the line length rule.
if len(line) >= 76 and "://" not in line:
# Long lines with URLs or human names are exempt from the line length rule.
if len(line) >= 76 and not (
"://" in line
or line.startswith("Co-authored-by: ")
or line.startswith("Signed-off-by: ")
):
err.error("Message lines should be 75 or less characters: " + line)

if not raw_body[-1].startswith("Signed-off-by: ") or "@" not in raw_body[-1]:
Expand Down
Loading
0