style: Format test_repomap.py with linter

This commit is contained in:
Paul Gauthier (aider) 2025-03-12 15:32:20 -07:00
parent a709d650df
commit a83d5ff123

View file

@ -332,9 +332,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
ext, key_symbol = key_symbol ext, key_symbol = key_symbol
filename = f"test.{ext}" filename = f"test.{ext}"
fixture_path = fixture_dir / filename fixture_path = fixture_dir / filename
self.assertTrue( self.assertTrue(fixture_path.exists(), f"Fixture file missing for {lang}: {fixture_path}")
fixture_path.exists(), f"Fixture file missing for {lang}: {fixture_path}"
)
# Read the fixture content # Read the fixture content
with open(fixture_path, "r", encoding="utf-8") as f: with open(fixture_path, "r", encoding="utf-8") as f:
@ -360,10 +358,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
self.assertIn( self.assertIn(
key_symbol, key_symbol,
result, result,
( f"Key symbol '{key_symbol}' for language {lang} not found in repo map: {result}",
f"Key symbol '{key_symbol}' for language {lang} not found in repo map:"
f" {result}"
),
) )
# close the open cache files, so Windows won't error # close the open cache files, so Windows won't error