blob: 0baf10f832c6867d59e84fa8a2d1911e4a26ce1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# pylint: disable=invalid-encoded-data
# +1: [line-too-long]
#####################################################################################################
# +1: [line-too-long]
""" that one is too long tooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo loooooong"""
# The next line is exactly 80 characters long.
A = '--------------------------------------------------------------------------'
# Do not trigger the line-too-long warning if the only token that makes the
# line longer than 80 characters is a trailing pylint disable.
var = 'This line has a disable pragma and whitespace trailing beyond 80 chars. ' # pylint:disable=invalid-name
# +1: [line-too-long]
badname = 'This line is already longer than 100 characters even without the pragma. Trust me. Please.' # pylint:disable=invalid-name
# http://example.com/this/is/a/very/long/url?but=splitting&urls=is&a=pain&so=they&can=be&long
def function():
# +3: [line-too-long]
"""This is a docstring.
That contains a very, very long line that exceeds the 100 characters limit by a good margin. So good?
"""
pass
|