lint: Ban lines longer than 140 characters without #ignorelongline.
This commit is contained in:
parent
7b80e9bcc4
commit
b46aa33656
|
@ -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 = ""
|
||||
|
|
Loading…
Reference in a new issue