mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
a001b03854
Also, update to latest upstream version. Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
119 lines
2.8 KiB
Python
119 lines
2.8 KiB
Python
#: E501
|
|
a = '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
|
|
#: E501
|
|
a = '1234567890123456789012345678901234567890123456789012345678901234567890' or \
|
|
6
|
|
#: E501
|
|
a = 7 or \
|
|
'1234567890123456789012345678901234567890123456789012345678901234567890' or \
|
|
6
|
|
#: E501 E501
|
|
a = 7 or \
|
|
'1234567890123456789012345678901234567890123456789012345678901234567890' or \
|
|
'1234567890123456789012345678901234567890123456789012345678901234567890' or \
|
|
6
|
|
#: E501
|
|
a = '1234567890123456789012345678901234567890123456789012345678901234567890' # \
|
|
#: E502
|
|
a = ('123456789012345678901234567890123456789012345678901234567890123456789' \
|
|
'01234567890')
|
|
#: E502
|
|
a = ('AAA \
|
|
BBB' \
|
|
'CCC')
|
|
#: E502
|
|
if (foo is None and bar is "e000" and \
|
|
blah == 'yeah'):
|
|
blah = 'yeahnah'
|
|
#
|
|
#: Okay
|
|
a = ('AAA'
|
|
'BBB')
|
|
|
|
a = ('AAA \
|
|
BBB'
|
|
'CCC')
|
|
|
|
a = 'AAA' \
|
|
'BBB' \
|
|
'CCC'
|
|
|
|
a = ('AAA\
|
|
BBBBBBBBB\
|
|
CCCCCCCCC\
|
|
DDDDDDDDD')
|
|
#
|
|
#: Okay
|
|
if aaa:
|
|
pass
|
|
elif bbb or \
|
|
ccc:
|
|
pass
|
|
|
|
ddd = \
|
|
ccc
|
|
|
|
('\
|
|
' + ' \
|
|
')
|
|
('''
|
|
''' + ' \
|
|
')
|
|
#: E501 E225 E226
|
|
very_long_identifiers=and_terrible_whitespace_habits(are_no_excuse+for_long_lines)
|
|
#
|
|
#: E501
|
|
'''multiline string
|
|
with a long long long long long long long long long long long long long long long long line
|
|
'''
|
|
#: 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
|
|
"""
|
|
#: E501
|
|
"""
|
|
longnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaces"""
|
|
#: Okay
|
|
"""
|
|
This
|
|
almost_empty_line
|
|
"""
|
|
#: E501
|
|
"""
|
|
This
|
|
almost_empty_line
|
|
"""
|
|
#: E501
|
|
# A basic comment
|
|
# with a long long long long long long long long long long long long long long long long line
|
|
|
|
#
|
|
#: Okay
|
|
# I'm some great comment. Because I'm so great, 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
|
|
|
|
import this
|
|
|
|
# longnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaceslongnospaces
|
|
|
|
#
|
|
#: Okay
|
|
# This
|
|
# almost_empty_line
|
|
|
|
#
|
|
#: E501
|
|
# This
|
|
# almost_empty_line
|