[BE][Ez]: ISC001 Auto concatenate implicit one line strings (#146408)

Apply ruff rule about implicit string concatenation, this autofixes strings that are all the same type and on the same line. These lines are broken up likely as the result of autoformatters in the past. All fixes are automated using the autofixes in ISC001.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146408
Approved by: https://github.com/justinchuby, https://github.com/janeyx99
This commit is contained in:
Aaron Gokaslan
2025-02-04 19:07:02 +00:00
committed by PyTorch MergeBot
parent f38a2ea0d4
commit 292af3cc89
36 changed files with 56 additions and 64 deletions

View File

@ -23,7 +23,7 @@ from torch.utils.mobile_optimizer import optimize_for_mobile
@unittest.skipUnless(
torch.backends.xnnpack.enabled,
" XNNPACK must be enabled for these tests." " Please build with USE_XNNPACK=1.",
" XNNPACK must be enabled for these tests. Please build with USE_XNNPACK=1.",
)
@unittest.skipIf(
TEST_WITH_TSAN,
@ -231,7 +231,7 @@ class TestXNNPACKOps(TestCase):
@unittest.skipUnless(
torch.backends.xnnpack.enabled,
" XNNPACK must be enabled for these tests." " Please build with USE_XNNPACK=1.",
" XNNPACK must be enabled for these tests. Please build with USE_XNNPACK=1.",
)
@unittest.skipIf(
TEST_WITH_TSAN,
@ -753,7 +753,7 @@ class TestXNNPACKSerDes(TestCase):
@unittest.skipUnless(
torch.backends.xnnpack.enabled,
" XNNPACK must be enabled for these tests." " Please build with USE_XNNPACK=1.",
" XNNPACK must be enabled for these tests. Please build with USE_XNNPACK=1.",
)
@unittest.skipIf(
TEST_WITH_TSAN,
@ -1241,7 +1241,7 @@ class TestXNNPACKRewritePass(TestCase):
@unittest.skipUnless(
torch.backends.xnnpack.enabled,
" XNNPACK must be enabled for these tests." " Please build with USE_XNNPACK=1.",
" XNNPACK must be enabled for these tests. Please build with USE_XNNPACK=1.",
)
@unittest.skipIf(
TEST_WITH_TSAN,