Line length fix

Trimmed the line length partly because HoundCI warned and partly to make
the code legible.