mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Add mypy (#224)
This commit is contained in:
committed by
GitHub
parent
4218c19fe2
commit
698eb8a6fd
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user