Add a Review Bot tool for looking at Review Request field formatting
Review Request #11815 — Created Sept. 17, 2021 and updated — Latest diff uploaded
Adds a tool to Review Bot that checks line lengths on the Description
and Testing Done fields for review requests, and opens general comments
when they exceed a limit (defaulting to 79 characters). Those general
comments include suggested wrapping.
Included an automated test that tests both short and long strings for
the Description and Testing Done fields. I also tested this manually.
Changes between revision 2 and 3
orig
1
2
3
4
5
Commits
Files
bot/reviewbot/tasks.py |
---|
bot/reviewbot/tools/rbfieldformatter.py |
---|
bot/reviewbot/tools/base/__init__.py |
---|
bot/reviewbot/tools/base/mixins.py |
---|
bot/reviewbot/tools/base/tool.py |
---|
extension/reviewbotext/integration.py |
---|
extension/reviewbotext/models.py |
---|
extension/reviewbotext/resources.py |
---|
extension/reviewbotext/evolutions/__init__.py |
---|
extension/reviewbotext/evolutions/tool_always_run.py |
---|
extension/reviewbotext/evolutions/tool_run_on_all_review_request_changes.py |
---|