Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / pylint / test / functional / line_too_long.py @ 745

History | View | Annotate | Download (1.12 KB)

1
# pylint: disable=invalid-encoded-data
2
# +1: [line-too-long]
3
#####################################################################################################
4
# +1: [line-too-long]
5
""" that one is too long tooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo loooooong"""
6

    
7
# The next line is exactly 80 characters long.
8
A = '--------------------------------------------------------------------------'
9

    
10
# Do not trigger the line-too-long warning if the only token that makes the
11
# line longer than 80 characters is a trailing pylint disable.
12
var = 'This line has a disable pragma and whitespace trailing beyond 80 chars. '  # pylint:disable=invalid-name
13

    
14
# +1: [line-too-long]
15
badname = 'This line is already longer than 100 characters even without the pragma. Trust me. Please.'  # pylint:disable=invalid-name
16

    
17
# http://example.com/this/is/a/very/long/url?but=splitting&urls=is&a=pain&so=they&can=be&long
18

    
19

    
20
def function():
21
    # +3: [line-too-long]
22
    """This is a docstring.
23

24
    That contains a very, very long line that exceeds the 100 characters limit by a good margin. So good?
25
    """
26
    pass