From 5d24e16b633904135f42fbba2a4bc390e5d15a85 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Fri, 8 Nov 2013 15:04:39 -0500 Subject: Allow long lines in multiline strings if they cannot be wrapped (issue #224). --- testsuite/E50.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'testsuite') diff --git a/testsuite/E50.py b/testsuite/E50.py index 1fc95ff..5737e95 100644 --- a/testsuite/E50.py +++ b/testsuite/E50.py @@ -45,6 +45,8 @@ ddd = \ (''' ''' + ' \ ') +#: E501 E225 E226 +very_long_identifiers=and_terrible_whitespace_habits(are_no_excuse+for_long_lines) # #: E501 '''multiline string @@ -53,3 +55,13 @@ with a long long long long long long long long long long long long long long lon #: E501 '''same thing, but this time without a terminal newline in the string long long long long long long long long long long long long long long long long line''' +# +# issue 224 (unavoidable long lines in docstrings) +#: Okay +""" +I'm some great documentation. Because I'm some great documentation, I'm +going to give you a reference to some valuable information about some API +that I'm calling: + + http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx +""" -- cgit v1.2.1