[pylint 'implicit-str-concat'] fix existing unwanted implicit str concat

This commit is contained in:
Pierre Sassoulas 2024-03-31 23:59:08 +02:00
parent 0d33cdf02a
commit 908e112999
3 changed files with 2 additions and 3 deletions

View File

@ -200,7 +200,6 @@ disable = [
"expression-not-assigned",
"fixme",
"global-statement",
"implicit-str-concat",
"import-error",
"import-outside-toplevel",
"inconsistent-return-statements",

View File

@ -207,7 +207,7 @@ class CommonFSTests:
@pytest.mark.parametrize(
"fil",
["*dir", "*dir", pytest.mark.skip("sys.version_info <" " (3,6)")(b"*dir")],
["*dir", "*dir", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")],
)
def test_visit_filterfunc_is_string(self, path1, fil):
lst = []

View File

@ -1163,7 +1163,7 @@ class TestNewFirst:
)
p1.write_text(
"def test_1(): assert 1\n" "def test_2(): assert 1\n", encoding="utf-8"
"def test_1(): assert 1\ndef test_2(): assert 1\n", encoding="utf-8"
)
os.utime(p1, ns=(p1.stat().st_atime_ns, int(1e9)))