Add a Review Bot tool for looking at Review Request field formatting

Review Request #11815 — Created Sept. 17, 2021 and updated — Latest diff uploaded

Information

ReviewBot
master

Reviewers

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

Summary ID Author
Make it possible to create Tools that run on every review request update.
a9a72c80d098db1cc1629604b68d3629aabcf189 Mike Conley
First stab at a review request line length formatter tool thing.
868a4307b7b94a820072cbafa5f3b9ef8f338e65 Mike Conley
Linting and documentation fixes
0014db2779e4e12a4a381980c3617c1530e42121 Mike Conley
Rename run_on_all_review_request_changes to always_run
47ea3783f7df75e13577ccce65e2fae5383206d1 Mike Conley
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
Loading...