summaryrefslogtreecommitdiff
path: root/pylint/test/functional/line_too_long.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/functional/line_too_long.py')
-rw-r--r--pylint/test/functional/line_too_long.py45
1 files changed, 0 insertions, 45 deletions
diff --git a/pylint/test/functional/line_too_long.py b/pylint/test/functional/line_too_long.py
deleted file mode 100644
index e2affd609..000000000
--- a/pylint/test/functional/line_too_long.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# pylint: disable=invalid-encoded-data, fixme, unnecessary-pass
-# +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.
-# pylint:disable=invalid-name
-var = (
- "This line has a disable pragma and whitespace trailing beyond 80 chars. "
-)
-
-# +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
-
-
-# +1: [line-too-long]
-# This line is toooooooooooooooooooooooooooooooooooooooooooooooo looooooooooooooooooooooooooooooooooooooooong #pylint: disable=fixme
-
-# +1: [line-too-long]
-# TODO: This line is toooooooooooooooooooooooooooooooooooooooooooooooo looooooooooooooooooooooooooooooooooooooooong #pylint: disable=fixme
-
-
-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
-
-
-# Don't crash when the line is in a docstring
-def func_with_long(parameter):
- """
- # pylint: disable=line-too-long
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccccccccccccccccccccccc
- """
- return parameter