diff --git a/swebench/collect/get_tasks_pipeline.py b/swebench/collect/get_tasks_pipeline.py index 7177f101..f15912f5 100755 --- a/swebench/collect/get_tasks_pipeline.py +++ b/swebench/collect/get_tasks_pipeline.py @@ -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, ): """ diff --git a/swebench/collect/print_pulls.py b/swebench/collect/print_pulls.py index 65927e4c..fb6382ed 100755 --- a/swebench/collect/print_pulls.py +++ b/swebench/collect/print_pulls.py @@ -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: """ @@ -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, ): """ diff --git a/swebench/harness/run_evaluation.py b/swebench/harness/run_evaluation.py index 8d90ac3b..535c01d4 100644 --- a/swebench/harness/run_evaluation.py +++ b/swebench/harness/run_evaluation.py @@ -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.