From b46aa3365609165b8a7021fae6ecd74c283ac554 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 19 Aug 2016 12:03:09 -0700 Subject: [PATCH] lint: Ban lines longer than 140 characters without #ignorelongline. --- bots/zephyr_mirror_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 72b28ef..1b93ff1 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -92,7 +92,7 @@ def different_paragraph(line, next_line): len(line) < len(words[0])) # Linewrapping algorithm based on: -# http://gcbenison.wordpress.com/2011/07/03/a-program-to-intelligently-remove-carriage-returns-so-you-can-paste-text-without-having-it-look-awful/ +# http://gcbenison.wordpress.com/2011/07/03/a-program-to-intelligently-remove-carriage-returns-so-you-can-paste-text-without-having-it-look-awful/ #ignorelongline def unwrap_lines(body): lines = body.split("\n") result = ""