mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-21 13:58:15 +00:00
feat: merge latest changes from crewAI-tools main into packages/tools
- Merged upstream changes from crewAI-tools main branch - Resolved conflicts due to monorepo structure (crewai_tools -> src/crewai_tools) - Removed deprecated embedchain adapters - Added new RAG loaders and crewai_rag_adapter - Consolidated dependencies in pyproject.toml Fixed critical linting issues: - Added ClassVar annotations for mutable class attributes - Added timeouts to requests calls (30s default) - Fixed exception handling with proper 'from' clauses - Added noqa comments for public API functions (backward compatibility) - Updated ruff config to ignore expected patterns: - F401 in __init__ files (intentional re-exports) - S101 in test files (assertions are expected) - S607 for subprocess calls (uv/pip commands are safe) Remaining issues are from upstream code and will be addressed in separate PRs.
This commit is contained in:
@@ -78,10 +78,17 @@ select = [
|
||||
"I001", # sort imports
|
||||
"I002", # remove unused imports
|
||||
]
|
||||
ignore = ["E501"] # ignore line too long
|
||||
ignore = [
|
||||
"E501", # ignore line too long
|
||||
"S607", # Starting a process with a partial executable path - OK for uv/pip commands
|
||||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**/*.py" = ["S101"] # Allow assert statements in tests
|
||||
"packages/*/tests/**/*.py" = ["S101"] # Allow assert statements in tests
|
||||
"**/*_test.py" = ["S101"] # Allow assert statements in test files
|
||||
"**/test_*.py" = ["S101"] # Allow assert statements in test files
|
||||
"**/__init__.py" = ["F401"] # Allow unused imports in __init__ files (re-exports)
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
|
||||
Reference in New Issue
Block a user