Allow and prefer '-' over '_' in configuration setting names #3145
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 188 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.314
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #3145"
general
weight: 0.35
freakboy3742
Resolves #3132
Description
Briefcase previously documented multi-word configuration settings using underscores (e.g.,
test_requires,cleanup_paths,formal_name), while PEP 621 metadata standardizes on hyphens (requires-python,optional-dependencies). This inconsistency required remembering which convention each setting used.This PR updates configuration parsing to prefer hyphens for multi-word setting names:
test-requires,cleanup-paths,formal-name) are normalized to internal underscore attribute representation (test_requires, etc.) when reading configuration sections.console.warning).test-requiresandtest_requires), aBriefcaseConfigErroris raised.requires-python/requires_python) use the same normalization mechanism.test_merge_config.py,test_merge_pep621_config.py, andtest_parse_config.py.docs/en/reference/configuration.mdand a towncrier newsfragmentchanges/3132.feature.md.PR Checklist: