2013-03-29 17:09:59 +00:00
|
|
|
# This is a very very very very very very very very very very very very very very very very very very very very very long line.
|
2015-03-26 14:45:52 +00:00
|
|
|
# pylint: disable=line-too-long
|
2013-03-29 17:09:59 +00:00
|
|
|
"""Make sure enable/disable pragmas work for messages that are applied to lines and not syntax nodes.
|
|
|
|
|
|
|
|
A disable pragma for a message that applies to nodes is applied to the whole
|
|
|
|
block if it comes before the first statement (excluding the docstring). For
|
|
|
|
line-based messages, this behavior needs to be altered to really only apply to
|
|
|
|
the enclosed lines.
|
|
|
|
"""
|
|
|
|
# pylint: enable=line-too-long
|
|
|
|
|
2015-03-26 14:45:52 +00:00
|
|
|
from __future__ import print_function
|
2013-03-29 17:09:59 +00:00
|
|
|
|
2015-03-26 14:45:52 +00:00
|
|
|
print('This is a very long line which the linter will warn about, now that line-too-long has been enabled again.')
|