Skip to content

Add CPPWG_DEFAULT_LOGFILE - #122

Merged
kwabenantim merged 1 commit into
developfrom
logfile-name-constant
Aug 11, 2026
Merged

Add CPPWG_DEFAULT_LOGFILE#122
kwabenantim merged 1 commit into
developfrom
logfile-name-constant

Conversation

@kwabenantim

Copy link
Copy Markdown
Member

Move the default --logfile value, currently a bare "cppwg.log" literal, to constants.py alongside the other filename settings like CPPWG_HEADER_COLLECTION_FILENAME, so the name lives in one place.

The default --logfile value was a bare "cppwg.log" literal in the argparse
setup. Move it to constants.py (as f"{CPPWG_EXT}.log") alongside the other
filename constants like CPPWG_HEADER_COLLECTION_FILENAME, and reference it as
the argument's const, so the name lives in one place.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kwabenantim
kwabenantim marked this pull request as ready for review August 11, 2026 20:27
@kwabenantim
kwabenantim merged commit d7de4ca into develop Aug 11, 2026
15 checks passed
@kwabenantim
kwabenantim deleted the logfile-name-constant branch August 11, 2026 20:28
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.73%. Comparing base (8cb6583) to head (77fba4e).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #122   +/-   ##
========================================
  Coverage    99.73%   99.73%           
========================================
  Files           29       29           
  Lines         2256     2258    +2     
  Branches       490      490           
========================================
+ Hits          2250     2252    +2     
  Misses           5        5           
  Partials         1        1           
Flag Coverage Δ
cells 76.21% <100.00%> (+0.02%) ⬆️
shapes 76.21% <100.00%> (+0.02%) ⬆️
unit 92.77% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cppwg/__main__.py 100.00% <100.00%> (ø)
cppwg/utils/constants.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant