fix: resolve CI linting issues across codebase
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
- 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:
15
src/codesnap/__main__.py
Normal file
15
src/codesnap/__main__.py
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import sys
|
||||||
|
from pathlib import Path
|
||||||
|
from codesnap.core.analyzer import CodeAnalyzer
|
||||||
|
from codesnap.core.complexity import ComplexityCalculator
|
||||||
|
from codesnap.core.dependency_graph import DependencyGraph
|
||||||
|
from codesnap.core.models import FileSummary
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
print("CodeSnap - Code Snapshot Analyzer")
|
||||||
|
print("=" * 50)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
Reference in New Issue
Block a user