Skip to content

Commit 467150f

Browse files
Ensure signature command doesn't use rich formatting
1 parent f672298 commit 467150f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

toolarena/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import shlex
33
import shutil
4+
from builtins import print as builtins_print
45
from pathlib import Path
56
from typing import Annotated
67

@@ -33,7 +34,7 @@ def signature(
3334
) -> None:
3435
"""Print the signature of a tool."""
3536
definition = ToolDefinition.from_yaml(DEFINITIONS_DIR / name / "task.yaml")
36-
print(definition.python_signature)
37+
builtins_print(definition.python_signature)
3738

3839

3940
@app.command()

0 commit comments

Comments
 (0)