mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix(benchmarks): treat warnings as errors in benchmarks
This commit is contained in:
@@ -261,7 +261,8 @@ def main():
|
||||
scripts = list(base.glob("*.py"))
|
||||
|
||||
# Create a directory to store temporary scripts
|
||||
os.makedirs(".benchmarks/scripts", exist_ok=True)
|
||||
shutil.rmtree(".benchmarks/scripts", ignore_errors=True)
|
||||
shutil.copytree(base, ".benchmarks/scripts")
|
||||
|
||||
# Process each script under the base directory
|
||||
for path in scripts:
|
||||
|
||||
Reference in New Issue
Block a user