Coverage for lintro / ai / __init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.0, created at 2026-04-03 18:53 +0000
« prev ^ index » next coverage.py v7.13.0, created at 2026-04-03 18:53 +0000
1"""AI-powered issue intelligence for Lintro.
3This package provides optional AI capabilities for summarizing, fixing,
4and prioritizing linting issues. Requires installation with AI extras:
6 uv pip install 'lintro[ai]'
8Features:
9 - AI-powered summaries with pattern detection and priority actions
10 - Fix generation for issues that native tools can't auto-fix
11 - Interactive suggestion review mode
12 - Triage guidance for suppressing vs fixing issues
13"""
15from lintro.ai.availability import is_ai_available, require_ai
16from lintro.ai.config import AIConfig
17from lintro.ai.enums import ConfidenceLevel, RiskLevel
18from lintro.ai.models import AIResult
19from lintro.ai.provider_enum import AIProvider
21__all__ = [
22 "AIConfig",
23 "AIProvider",
24 "AIResult",
25 "ConfidenceLevel",
26 "RiskLevel",
27 "is_ai_available",
28 "require_ai",
29]