Initial upload with CI/CD workflow

This commit is contained in:
2026-01-30 22:12:47 +00:00
parent fd142854ac
commit 26b901475f

60
.codesnaprc Normal file
View File

@@ -0,0 +1,60 @@
# CodeSnap Configuration File
# Format: YAML
# Maximum files to analyze
max_files: 1000
# Maximum output size in tokens for LLM-optimized output
max_tokens: 8000
# Tree-sitter grammar cache directory
grammar_cache: ~/.cache/codesnap/grammars
# File patterns to include (glob patterns)
include_patterns:
- "**/*.py"
- "**/*.js"
- "**/*.ts"
- "**/*.jsx"
- "**/*.tsx"
- "**/*.go"
- "**/*.rs"
- "**/*.java"
- "**/*.c"
- "**/*.cpp"
- "**/*.h"
- "**/*.hpp"
- "**/*.rb"
- "**/*.php"
# File patterns to exclude
exclude_patterns:
- "**/node_modules/**"
- "**/.git/**"
- "**/venv/**"
- "**/.venv/**"
- "**/__pycache__/**"
- "**/dist/**"
- "**/build/**"
- "**/*.min.js"
- "**/*.min.css"
# Output configuration
output:
# Show file content in output
show_content: false
# Maximum function body lines to include
max_function_lines: 50
# Include complexity metrics
include_metrics: true
# Complexity thresholds
complexity:
low: 10
medium: 20
high: 50
# Logging configuration
logging:
level: INFO
format: json