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.
bot/setup.py |
---|
bot/reviewbot/processing/review.py |
---|
bot/reviewbot/tools/rbfieldformatter.py |
---|
bot/reviewbot/tools/base/mixins.py |
---|
bot/reviewbot/tools/base/tool.py |
---|
extension/reviewbotext/integration.py |
---|