fix: resolve CI linting issues across codebase
Some checks failed
CI / test (push) Failing after 12s

- Remove unused imports (sys, Path, defaultdict, etc.)
- Convert Optional types to modern | syntax
- Fix trailing whitespace and blank line whitespace issues
- Sort imports alphabetically
- Add __future__ annotations for type syntax support
This commit is contained in:
2026-01-30 22:21:27 +00:00
parent 8b32f32020
commit 6424e6c615

13
src/codesnap/__init__.py Normal file
View File

@@ -0,0 +1,13 @@
from codesnap.core.analyzer import CodeAnalyzer
from codesnap.core.complexity import ComplexityCalculator
from codesnap.core.dependency_graph import DependencyGraph
from codesnap.core.models import DependencyInfo, FileSummary, FunctionInfo
__all__ = [
"CodeAnalyzer",
"ComplexityCalculator",
"DependencyGraph",
"DependencyInfo",
"FileSummary",
"FunctionInfo",
]