Skip to content

Commit c4d0cfa

Browse files
authored
Create __init__.py
import warnings from pathlib import Path # Suppress RuntimeWarnings during specific imports with warnings.catch_warnings():Add commentMore actions warnings.simplefilter("ignore", category=RuntimeWarning) # Local module imports from .dependency_analyzer import DependencyAnalyzer, main as analyzer_main from .error_diagnosis_engine import ErrorDiagnosisEngine from .auto_fix_module import DependencyAutoFixer # Define exports dynamically to reduce maintenance overhead __all__ = [name for name in globals() if not name.startswith("_")]
1 parent ec6d355 commit c4d0cfa

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

ai_core/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import warnings
2+
from pathlib import Path
3+
4+
# Suppress RuntimeWarnings during specific imports
5+
with warnings.catch_warnings():Add commentMore actions
6+
warnings.simplefilter("ignore", category=RuntimeWarning)
7+
# Local module imports
8+
from .dependency_analyzer import DependencyAnalyzer, main as analyzer_main
9+
from .error_diagnosis_engine import ErrorDiagnosisEngine
10+
from .auto_fix_module import DependencyAutoFixer
11+
12+
# Define exports dynamically to reduce maintenance overhead
13+
__all__ = [name for name in globals() if not name.startswith("_")]

0 commit comments

Comments
 (0)