From 370b45bb35c4b875bd4969bea7daebb92d422993 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 19 Dec 2024 07:23:28 -0800 Subject: [PATCH] feat: Ignore files in .meta and .docs directories --- benchmark/benchmark.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/benchmark/benchmark.py b/benchmark/benchmark.py index e34d0c22e..c37d1eefc 100755 --- a/benchmark/benchmark.py +++ b/benchmark/benchmark.py @@ -673,7 +673,9 @@ def run_test_real( ] ) - # add all the files under testdir/ .meta and .docs to ignore_files ai! + # Add all files under .meta and .docs directories + ignore_files.update(str(p) for p in testdir.glob(".meta/**/*")) + ignore_files.update(str(p) for p in testdir.glob(".docs/**/*")) # Also ignore test & example files ignore_files.update(test_files)