Skip to content

Commit 9aff37f

Browse files
[pylint 'implicit-str-concat'] fix existing unwanted implicit str concat
1 parent 5c29275 commit 9aff37f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ disable = [
200200
"expression-not-assigned",
201201
"fixme",
202202
"global-statement",
203-
"implicit-str-concat",
204203
"import-error",
205204
"import-outside-toplevel",
206205
"inconsistent-return-statements",

testing/_py/test_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def test_visit_norecurse(self, path1):
207207

208208
@pytest.mark.parametrize(
209209
"fil",
210-
["*dir", "*dir", pytest.mark.skip("sys.version_info <" " (3,6)")(b"*dir")],
210+
["*dir", "*dir", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")],
211211
)
212212
def test_visit_filterfunc_is_string(self, path1, fil):
213213
lst = []

testing/test_cacheprovider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ def test_1(): assert 1
11631163
)
11641164

11651165
p1.write_text(
1166-
"def test_1(): assert 1\n" "def test_2(): assert 1\n", encoding="utf-8"
1166+
"def test_1(): assert 1\ndef test_2(): assert 1\n", encoding="utf-8"
11671167
)
11681168
os.utime(p1, ns=(p1.stat().st_atime_ns, int(1e9)))
11691169

0 commit comments

Comments
 (0)