1
0

[claude] Fix pre-existing ruff lint errors blocking git hooks (#1247) (#1248)

This commit is contained in:
2026-03-23 23:33:37 +00:00
parent fedd164686
commit b5fb6a85cf
23 changed files with 116 additions and 130 deletions

View File

@@ -13,16 +13,16 @@ from pathlib import Path
from timmy.tools._base import (
_AGNO_TOOLS_AVAILABLE,
_ImportError,
FileTools,
PythonTools,
Toolkit,
_ImportError,
)
logger = logging.getLogger(__name__)
def _make_smart_read_file(file_tools: "FileTools") -> Callable:
def _make_smart_read_file(file_tools: FileTools) -> Callable:
"""Wrap FileTools.read_file so directories auto-list their contents.
When the user (or the LLM) passes a directory path to read_file,