mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
Fix files not being excluded in benchmark.py
`.discard()` removes an item from the set. `.difference_update()` is the correct call here.
This commit is contained in:
parent
37ad4758a1
commit
ed9d70903d
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ def run_test_real(
|
|||
ignore_files.update(example_files)
|
||||
|
||||
# Remove any ignore files from the solution set that LLM will edit
|
||||
solution_files.discard(ignore_files)
|
||||
solution_files.difference_update(ignore_files)
|
||||
|
||||
# Copy all solution files
|
||||
for file_path in solution_files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue