Files
crewAI/check_deps.py
Devin AI 5dee1b819b fix: resolve lint issues and test failures
- Remove unused imports from check_deps.py, flow_visualizer.py, and test files
- Add noqa comments for intentional imports in check_deps.py
- Fix PDF test to properly create temporary test file and handle missing dependencies
- Address all lint F401 errors identified in CI

Co-Authored-By: João <joao@crewai.com>
2025-06-18 10:18:20 +00:00

40 lines
858 B
Python

#!/usr/bin/env python3
print("Checking optional dependencies availability:")
try:
import chromadb # noqa: F401
print('chromadb: AVAILABLE')
except ImportError:
print('chromadb: NOT AVAILABLE')
try:
import pdfplumber # noqa: F401
print('pdfplumber: AVAILABLE')
except ImportError:
print('pdfplumber: NOT AVAILABLE')
try:
import pyvis # noqa: F401
print('pyvis: AVAILABLE')
except ImportError:
print('pyvis: NOT AVAILABLE')
try:
import opentelemetry # noqa: F401
print('opentelemetry: AVAILABLE')
except ImportError:
print('opentelemetry: NOT AVAILABLE')
try:
import auth0 # noqa: F401
print('auth0: AVAILABLE')
except ImportError:
print('auth0: NOT AVAILABLE')
try:
import aisuite # noqa: F401
print('aisuite: AVAILABLE')
except ImportError:
print('aisuite: NOT AVAILABLE')