chore: modernize LLM interface typing and add constants (#3483)

* chore: update LLM interfaces to Python 3.10+ typing

* fix: add missing stop attribute to mock LLM and improve test infrastructure

* fix: correct type ignore comment for aisuite import
This commit is contained in:
Greyson LaLonde
2025-09-10 08:30:49 -04:00
committed by GitHub
parent 6676d94ba1
commit 83682d511f
5 changed files with 126 additions and 58 deletions

View File

@@ -133,6 +133,9 @@ select = [
]
ignore = ["E501"] # ignore line too long
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"] # Allow assert statements in tests
[tool.mypy]
exclude = ["src/crewai/cli/templates", "tests"]