This commit is contained in:
Romain d'Esparbès
2023-06-20 11:50:48 +02:00
committed by GitHub
parent 4218c19fe2
commit 698eb8a6fd
5 changed files with 10 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import subprocess
from itertools import islice
from pathlib import Path
from typing import Iterable
from typer import run
@@ -15,7 +16,7 @@ def main(
):
path = Path("benchmark")
folders = path.iterdir()
folders: Iterable[Path] = path.iterdir()
if n_benchmarks:
folders = islice(folders, n_benchmarks)