mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: Format test_repomap.py with linter
This commit is contained in:
parent
a709d650df
commit
a83d5ff123
1 changed files with 2 additions and 7 deletions
|
@ -332,9 +332,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
ext, key_symbol = key_symbol
|
||||
filename = f"test.{ext}"
|
||||
fixture_path = fixture_dir / filename
|
||||
self.assertTrue(
|
||||
fixture_path.exists(), f"Fixture file missing for {lang}: {fixture_path}"
|
||||
)
|
||||
self.assertTrue(fixture_path.exists(), f"Fixture file missing for {lang}: {fixture_path}")
|
||||
|
||||
# Read the fixture content
|
||||
with open(fixture_path, "r", encoding="utf-8") as f:
|
||||
|
@ -360,10 +358,7 @@ class TestRepoMapAllLanguages(unittest.TestCase):
|
|||
self.assertIn(
|
||||
key_symbol,
|
||||
result,
|
||||
(
|
||||
f"Key symbol '{key_symbol}' for language {lang} not found in repo map:"
|
||||
f" {result}"
|
||||
),
|
||||
f"Key symbol '{key_symbol}' for language {lang} not found in repo map: {result}",
|
||||
)
|
||||
|
||||
# close the open cache files, so Windows won't error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue