Skip to content

Commit a21b977

Browse files
[pylint 'implicit-str-concat'] Use zip when iterating on two iterators
1 parent a447037 commit a21b977

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
@@ -198,7 +198,6 @@ disable= [
198198
"expression-not-assigned",
199199
"fixme",
200200
"global-statement",
201-
"implicit-str-concat",
202201
"import-error",
203202
"import-outside-toplevel",
204203
"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
@@ -1148,7 +1148,7 @@ def test_1(): assert 1
11481148
)
11491149

11501150
p1.write_text(
1151-
"def test_1(): assert 1\n" "def test_2(): assert 1\n", encoding="utf-8"
1151+
"def test_1(): assert 1\ndef test_2(): assert 1\n", encoding="utf-8"
11521152
)
11531153
os.utime(p1, ns=(p1.stat().st_atime_ns, int(1e9)))
11541154

0 commit comments

Comments
 (0)