Skip to content

For #493 - f08 fmt repeat#496

Merged
sergisiso merged 8 commits intomasterfrom
493_f08_fmt_repeat
Mar 19, 2026
Merged

For #493 - f08 fmt repeat#496
sergisiso merged 8 commits intomasterfrom
493_f08_fmt_repeat

Conversation

@arporter
Copy link
Copy Markdown
Member

Takes on the PR by @perazz to fix the coverage issues.

perazz and others added 5 commits February 23, 2026 14:34
Add F2008 Format_Item class (R1003) in Fortran2008/format_item_r1003.py
that extends the F2003 Format_Item with support for the unlimited format
repeat specifier '*' before a parenthesised format-item-list.

The F2008 class registers itself in Base.subclasses["Format_Item"] so
that it is discovered when F2003 code (e.g. Format_Item_List.match)
directly references the F2003 Format_Item class.

Tests moved to the Fortran2008 test directory.
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (3e864a2) to head (13b6f37).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
+ Coverage   92.19%   92.21%   +0.01%     
==========================================
  Files          86       87       +1     
  Lines       13807    13832      +25     
==========================================
+ Hits        12730    12755      +25     
  Misses       1077     1077              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@arporter
Copy link
Copy Markdown
Member Author

Unfortunately, when I run the tests locally (under 3.14) with coverage switched on I get test failures :-( The CPP directive match method gets a FortranStringReader instead of a str. If I put in a debugger breakpoint for this situation and run the tests without --cov then the breakpoint is not triggered.

@arporter
Copy link
Copy Markdown
Member Author

This one is also ready for review now. It takes on the PR of @perazz and just fixes coverage and tidies a bit.

Copy link
Copy Markdown
Collaborator

@sergisiso sergisiso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arporter @perazz All tests pass and the coverage is complete, this is approved for merging.

@perazz I added you to the contributors list in CHANGELOG.md as:
* F. Perini, Wisconsin Engine Research Consultants, US
Let me know if this is not accurate or you prefer something else.

@sergisiso sergisiso merged commit d93d18d into master Mar 19, 2026
6 checks passed
@sergisiso sergisiso deleted the 493_f08_fmt_repeat branch March 19, 2026 09:41
@perazz
Copy link
Copy Markdown

perazz commented Mar 19, 2026

Appreciate it @sergisiso, thank you!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants