fix: satisfy flake8 — drop unused import, shorten long lines

This commit is contained in:
Ikalus1988 2026-06-13 15:56:26 +08:00
parent 4a84364019
commit 0b79656568
2 changed files with 3 additions and 3 deletions

View file

@ -118,7 +118,8 @@ def test_multiline_commit_with_signoff():
def test_missing_signoff():
"""A commit message without any Signed-off-by line should fail."""
msg = _write_commit_msg('fix: resolve timeout issue\n\nJust a quick fix.\n')
body = 'fix: resolve timeout issue\n\nJust a quick fix.\n'
msg = _write_commit_msg(body)
try:
code, errors = check_dco(msg)
assert code == 1