Files
pyscn/.pyscn.yaml.example
DaisukeYoda 88d5122a84 chore: finalize repository for public release (#76)
* chore: standardize project name to pyscn throughout codebase

- Fix project name inconsistency from pyqol to pyscn in all files
- Update HTML report titles and branding to pyscn
- Rename config file: pyqol.yaml.example → .pyscn.yaml.example
- Update test function names and documentation references
- Clean copyright attribution in LICENSE file
- Remove temporary files (.DS_Store, coverage files, venv)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* docs: clean up CHANGELOG and remove legacy beta versions

- Update CHANGELOG.md to reflect current state with v0.1.0-beta.13
- Remove references to deleted beta versions (beta.1-12, b7)
- Add explanation note about removed versions with distribution issues
- Update installation instructions to use latest beta version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: DaisukeYoda <daisukeyoda@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 11:03:35 +09:00

61 lines
1.8 KiB
Plaintext

# pyscn Configuration File
# This is an example configuration file showing all available options
# Complexity analysis configuration
complexity:
# Threshold for low complexity (inclusive)
# Functions with complexity <= low_threshold are considered low risk
# Default: 9 (DefaultLowComplexityThreshold)
low_threshold: 9
# Threshold for medium complexity (inclusive)
# Functions with complexity > low_threshold and <= medium_threshold are medium risk
# Functions with complexity > medium_threshold are high risk
# Default: 19 (DefaultMediumComplexityThreshold)
medium_threshold: 19
# Whether to enable complexity analysis
enabled: true
# Whether to report functions with complexity = 1 (unchanged functions)
report_unchanged: true
# Maximum allowed complexity before failing analysis (0 = no limit)
# If set > 0, analysis will fail if any function exceeds this value
# Default: 0 (DefaultMaxComplexityLimit - no enforcement)
max_complexity: 0
# Output formatting configuration
output:
# Output format: text, json, yaml, csv
format: text
# Whether to show detailed breakdown of complexity metrics
show_details: false
# How to sort results: name, complexity, risk
sort_by: name
# Minimum complexity to report (filters out low-complexity functions)
# Default: 1 (DefaultMinComplexityFilter - report all functions)
min_complexity: 1
# File analysis configuration
analysis:
# File patterns to include in analysis
include_patterns:
- "*.py"
# File patterns to exclude from analysis
exclude_patterns:
- "test_*.py"
- "*_test.py"
- "__pycache__/*"
- "build/*"
- "dist/*"
# Whether to analyze directories recursively
recursive: true
# Whether to follow symbolic links
follow_symlinks: false