diff options
author | Greg Ward <greg@gerg.ca> | 2013-11-08 15:04:39 -0500 |
---|---|---|
committer | Greg Ward <greg@gerg.ca> | 2013-11-08 16:21:23 -0500 |
commit | 5d24e16b633904135f42fbba2a4bc390e5d15a85 (patch) | |
tree | 3539740daf3b2c8c639f6f29a5d05428ab8676d4 /testsuite | |
parent | 66d353dd2e68197d6c168f188bfad68b6f738908 (diff) | |
download | pep8-5d24e16b633904135f42fbba2a4bc390e5d15a85.tar.gz |
Allow long lines in multiline strings if they cannot be wrapped (issue #224).
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/E50.py | 12 |
1 files changed, 12 insertions, 0 deletions
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 +""" |