Code review comment for lp:~canonical-platform-qa/webbrowser-app/fix1444170-flake8

Revision history for this message
Leo Arias (elopio) wrote :

> Why is webapp_install_path surrounded with parentheses?

That's to wrap the line. Without parentheses, the line would be longer than allowed by pep8. We could wrap with a \, but:

"The preferred way of wrapping long lines is by using Python's implied line continuation inside parentheses, brackets and braces. Long lines can be broken over multiple lines by wrapping expressions in parentheses. These should be used in preference to using a backslash for line continuation. "

https://www.python.org/dev/peps/pep-0008/

« Back to merge proposal