Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rdesparbes authored Jun 20, 2023
1 parent 4218c19 commit 698eb8a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV/
.pytest_cache/
.ruff_cache/
.coverage
.mypy_cache/

# macOS specific files
.DS_Store
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ repos:
id: detect-private-key
id: end-of-file-fixer
id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.3.0
hooks:
- id: mypy
Empty file added gpt_engineer/__init__.py
Empty file.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ openai==0.27.8
pre-commit==3.3.3
ruff==0.0.272
typer==0.9.0
pytest==7.3.1
pytest==7.3.1
mypy==1.3.0
3 changes: 2 additions & 1 deletion scripts/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from itertools import islice
from pathlib import Path
from typing import Iterable

from typer import run

Expand All @@ -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)
Expand Down

0 comments on commit 698eb8a

Please sign in to comment.