style: fix line length in test_commands.py

This commit is contained in:
Paul Gauthier (aider) 2024-10-29 13:20:49 -07:00
parent f800ce1e5a
commit 26a85c2047

View file

@ -764,7 +764,9 @@ class TestCommands(TestCase):
read_only_files = {coder.get_rel_fname(f) for f in coder.abs_read_only_fnames}
self.assertEqual(added_files, {str(Path("file1.txt"))})
self.assertTrue(any(os.path.samefile(external_file_path, f) for f in read_only_files))
self.assertTrue(
any(os.path.samefile(external_file_path, f) for f in read_only_files)
)
# Clean up
Path(session_file).unlink()