From e39a6c589464ef4cca6dd2d3783c2b976688022f Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 8 Aug 2026 11:52:28 +0200 Subject: [PATCH] chore: wrap long test lines --- tests/test_profile_sync.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/test_profile_sync.py b/tests/test_profile_sync.py index f71052a2..9bcdd9be 100644 --- a/tests/test_profile_sync.py +++ b/tests/test_profile_sync.py @@ -126,7 +126,10 @@ class TestSplitSourceRef(unittest.TestCase): def test_parenthetical_annotation_is_dropped(self): parts = split_source_ref("mia/system/game-gear.cpp:8 (//optional)") - self.assertEqual((parts[0].path, parts[0].start), ("mia/system/game-gear.cpp", 8)) + self.assertEqual( + (parts[0].path, parts[0].start), + ("mia/system/game-gear.cpp", 8), + ) def test_annotations_between_parts(self): parts = split_source_ref( @@ -1007,7 +1010,11 @@ class TestRebaseRefs(unittest.TestCase): applied = rebase_refs( self.path, self._report( - [EntryReport("a.bin", "a.c:10-12 (loads the kernel)", "SHIFTED", [part])] + [ + EntryReport( + "a.bin", "a.c:10-12 (loads the kernel)", "SHIFTED", [part] + ) + ] ), ) self.assertEqual(applied, [])