Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
john-b-yang committed Jul 8, 2024
1 parent c570504 commit f795ec0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion swebench/collect/get_tasks_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def main(
repos: list,
path_prs: str,
path_tasks: str,
max_pulls: int|None = None,
max_pulls: int = None,
cutoff_date: str = None,
):
"""
Expand Down
4 changes: 2 additions & 2 deletions swebench/collect/print_pulls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
def log_all_pulls(
repo: Repo,
output: str,
max_pulls: int|None = None,
max_pulls: int = None,
cutoff_date: str = None,
) -> None:
"""
Expand All @@ -50,7 +50,7 @@ def main(
repo_name: str,
output: str,
token: Optional[str] = None,
max_pulls: int|None = None,
max_pulls: int = None,
cutoff_date: str = None,
):
"""
Expand Down
2 changes: 1 addition & 1 deletion swebench/harness/run_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run_instance(
force_rebuild: bool,
client: docker.DockerClient,
run_id: str,
timeout: int|None = None,
timeout: int = None,
):
"""
Run a single instance with the given prediction.
Expand Down

0 comments on commit f795ec0

Please sign in to comment.