A programming framework for agentic AI
Fix lint issue in agbench (#409)
Jack Gerrits4eadecf4c9db
diff --git a/python/tools/agbench/src/agbench/run_cmd.py b/python/tools/agbench/src/agbench/run_cmd.pyindex 374b2c1d4..29b81621d 100644--- a/python/tools/agbench/src/agbench/run_cmd.py+++ b/python/tools/agbench/src/agbench/run_cmd.py@@ -16,7 +16,6 @@ import dockerfrom azure.core.exceptions import ClientAuthenticationErrorfrom azure.identity import DefaultAzureCredential, get_bearer_token_providerfrom docker.errors import APIError, DockerException, ImageNotFound-from docker.models.containers import Containerfrom typing_extensions import TypedDictfrom .version import __version__@@ -504,19 +503,16 @@ echo RUN.SH COMPLETE !#!#assert image is not None# Create and run the container- container: Container = cast(- Container,- client.containers.run(- image,- command=["sh", "run.sh"],- working_dir="/workspace",- environment=dict(env),- detach=True,- remove=True,- auto_remove=True,- # Type hint of docker is wrong here- volumes=volumes, # type: ignore- ),+ container = client.containers.run(+ image,+ command=["sh", "run.sh"],+ working_dir="/workspace",+ environment=dict(env),+ detach=True,+ remove=True,+ auto_remove=True,+ # Type hint of docker is wrong here+ volumes=volumes, # type: ignore)# Read the logs in a streaming fashion. Keep an eye on the time to make sure we don't need to stop.