Skip to content

Commit

Permalink
Use larger width when printing reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Feb 11, 2022
1 parent 454b803 commit 6d60629
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions review.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,9 @@ def main(
clang_tidy_warnings["Diagnostics"], diff_lookup, offset_lookup
)

print("Created the following review:\n", pprint.pformat(review), flush=True)
print(
"Created the following review:\n", pprint.pformat(review, width=130), flush=True
)

if review["comments"] == []:
print("No warnings to report, LGTM!")
Expand All @@ -668,7 +670,7 @@ def main(
return review

if dry_run:
pprint.pprint(review)
pprint.pprint(review, width=130)
return

print("Posting the review:\n", pprint.pformat(trimmed_review), flush=True)
Expand Down

0 comments on commit 6d60629

Please sign in to comment.