[pylint 'implicit-str-concat'] fix existing unwanted implicit str concat
This commit is contained in:
parent
0d33cdf02a
commit
908e112999
|
@ -200,7 +200,6 @@ disable = [
|
||||||
"expression-not-assigned",
|
"expression-not-assigned",
|
||||||
"fixme",
|
"fixme",
|
||||||
"global-statement",
|
"global-statement",
|
||||||
"implicit-str-concat",
|
|
||||||
"import-error",
|
"import-error",
|
||||||
"import-outside-toplevel",
|
"import-outside-toplevel",
|
||||||
"inconsistent-return-statements",
|
"inconsistent-return-statements",
|
||||||
|
|
|
@ -207,7 +207,7 @@ class CommonFSTests:
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"fil",
|
"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):
|
def test_visit_filterfunc_is_string(self, path1, fil):
|
||||||
lst = []
|
lst = []
|
||||||
|
|
|
@ -1163,7 +1163,7 @@ class TestNewFirst:
|
||||||
)
|
)
|
||||||
|
|
||||||
p1.write_text(
|
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)))
|
os.utime(p1, ns=(p1.stat().st_atime_ns, int(1e9)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue