Skip to content
Snippets Groups Projects
Commit 158fa9f0 authored by hippo91's avatar hippo91 Committed by Claudiu Popa
Browse files

Modifying line_too_long.py to add test checking that another directive thant...

Modifying line_too_long.py to add test checking that another directive thant 'line-too-long' doesn't deactivate the emission of 'line-too-long' message
parent b6c68505
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,8 +14,7 @@ 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
# http://example.com/this/is/a/very/long/url?but=splitting&urls=is&a=pain&so=they&can=be&long # pylint: disable=line-too-long
def function():
# +3: [line-too-long]
Loading
Loading
line-too-long:3::Line too long (101/100)
line-too-long:5::Line too long (104/100)
line-too-long:15::Line too long (102/100)
line-too-long:24::Line too long (105/100)
line-too-long:19::Line too long (105/100)
line-too-long:21::Line too long (105/100)
line-too-long:29::Line too long (105/100)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment