FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

misc: switch to f-string throughout by mloubout · Pull Request #2706 · devitocodes/devito · GitHub

misc: switch to f-string throughout - #2706

Merged
mloubout merged 2 commits into
mainfrom
modernize-string-formatting
Aug 11, 2025
Merged

misc: switch to f-string throughout#2706
mloubout merged 2 commits into
mainfrom
modernize-string-formatting

Conversation

mloubout commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

No description provided.

mloubout added the misc label Aug 8, 2025
mloubout force-pushed the modernize-string-formatting branch 3 times, most recently from 9429bb0 to dd43d3f Compare August 8, 2025 13:33

codecov Bot commented Aug 8, 2025
edited
Loading

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 55.00000% with 18 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@cfc5a08). Learn more about missing BASE report.
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
devito/types/dense.py 45.45% 6 Missing ⚠️
devito/parameters.py 16.66% 5 Missing ⚠️
devito/types/dimension.py 55.55% 4 Missing ⚠️
devito/arch/compiler.py 0.00% 1 Missing ⚠️
devito/logger.py 0.00% 1 Missing ⚠️
devito/operator/profiling.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2706   +/-   ##
=======================================
  Coverage        ?   92.11%           
=======================================
  Files           ?      248           
  Lines           ?    49641           
  Branches        ?     4367           
=======================================
  Hits            ?    45726           
  Misses          ?     3208           
  Partials        ?      707           
Flag Coverage Δ
pytest-gpu-aomp-amdgpuX 71.07% <42.50%> (?)
pytest-gpu-nvc-nvidiaX 72.05% <42.50%> (?)

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

☔ 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.

FabioLuporini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks sane from a quick glance

mloubout and others added 2 commits August 11, 2025 07:35
Modernize string formatting by replacing % operator with f-string syntax
across 12 core devito modules (61 total conversions). This improves
readability, performance, and follows current Python best practices.

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

Co-Authored-By: Claude <noreply@anthropic.com>
Address line length (E501), indentation (E127), and syntax (E999)
issues introduced during the % to f-string conversion. Fixed f-string
syntax errors by extracting backslash expressions to variables.
All modified files now pass flake8 checks.

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

Co-Authored-By: Claude <noreply@anthropic.com>
mloubout force-pushed the modernize-string-formatting branch from dd43d3f to c8c2ccf Compare August 11, 2025 11:35
mloubout merged commit b5d11ae into main Aug 11, 2025
36 checks passed
mloubout deleted the modernize-string-formatting branch August 11, 2025 12:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL