diff options
author | Jeff Zambory <jeff.zambory@mongodb.com> | 2021-08-04 12:17:03 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-04 19:09:06 +0000 |
commit | 15c7dad62ef5f54e29cc1a43d44c81f631c302f0 (patch) | |
tree | 2a698e44284120264d0ea555a305f94ffbdae34b /buildscripts | |
parent | f5fc457d45e310f0b6d43306be6464bf5d9b88b3 (diff) | |
download | mongo-15c7dad62ef5f54e29cc1a43d44c81f631c302f0.tar.gz |
SERVER-58378: check_todos.py does not provide actionable next steps
Diffstat (limited to 'buildscripts')
-rwxr-xr-x | buildscripts/todo_check.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildscripts/todo_check.py b/buildscripts/todo_check.py index 12a2f9b0706..f073e7d0a73 100755 --- a/buildscripts/todo_check.py +++ b/buildscripts/todo_check.py @@ -281,6 +281,11 @@ def main(ticket: Optional[str], base_dir: str, commit_message: Optional[str], found_todos = todo_checker.report_on_all_tickets() if found_todos: + print("TODOs that reference a Jira ticket associated with the current commit should not " + "remain in the code after the commit is merged. A TODO referencing a ticket that has " + "been closed and that solved the TODO's purpose can be confusing.") + print("To fix this error resolve any TODOs that reference the Jira ticket this commit is" + "associated with.") sys.exit(1) sys.exit(0) |