Skip to content

Commit

Permalink
Remove bad-continuation disabling in all code
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed May 2, 2020
1 parent c6df317 commit 45b26e1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion pylint/lint/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ def __init__(
linter.load_plugin_modules(self._plugins)
# add some help section
linter.add_help_section("Environment variables", config.ENV_HELP, level=1)
# pylint: disable=bad-continuation
linter.add_help_section(
"Output",
"Using the default text output, the message format is : \n"
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/i/implicit_str_concat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pylint: disable=bad-continuation,invalid-name,missing-docstring
#pylint: disable=invalid-name,missing-docstring

# Basic test with a list
TEST_LIST1 = ['a' 'b'] # [implicit-str-concat]
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/i/implicit_str_concat_latin1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: latin_1
#pylint: disable=bad-continuation,invalid-name,missing-docstring
#pylint: disable=invalid-name,missing-docstring

TOTO = ('Café', 'Café', 'Café')
2 changes: 1 addition & 1 deletion tests/functional/i/implicit_str_concat_multiline.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pylint: disable=bad-continuation,missing-docstring
#pylint: disable=missing-docstring

TEST_TUPLE = ('a', 'b' # [implicit-str-concat]
'c')
2 changes: 1 addition & 1 deletion tests/functional/i/implicit_str_concat_utf8.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pylint: disable=bad-continuation,invalid-name,missing-docstring
#pylint: disable=invalid-name,missing-docstring

TOTO = ('Café', 'Café', 'Café')
2 changes: 1 addition & 1 deletion tests/functional/t/trailing_comma_tuple.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Check trailing comma one element tuples."""
# pylint: disable=bad-whitespace, missing-docstring, bad-continuation
# pylint: disable=bad-whitespace, missing-docstring
AAA = 1, # [trailing-comma-tuple]
BBB = "aaaa", # [trailing-comma-tuple]
CCC="aaa", # [trailing-comma-tuple]
Expand Down

0 comments on commit 45b26e1

Please sign in to comment.