Skip to content

[MAINT] Remove uses of format in strings#2282

Merged
ndgrigorian merged 2 commits intomasterfrom
remove-uses-of-format-for-strings
Apr 15, 2026
Merged

[MAINT] Remove uses of format in strings#2282
ndgrigorian merged 2 commits intomasterfrom
remove-uses-of-format-for-strings

Conversation

@ndgrigorian
Copy link
Copy Markdown
Collaborator

This PR updates the codebase, removing uses of format instead of f strings

f strings are technically slightly faster, and are more readable

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 15, 2026

Deleted rendered PR docs from intelpython.github.com/dpctl, latest should be updated shortly. 🤞

@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Apr 15, 2026

Coverage Status

coverage: 77.341% (+0.003%) from 77.338% — remove-uses-of-format-for-strings into master

Comment thread dpctl/_sycl_device.pyx Outdated
Comment thread dpctl/memory/_memory.pyx Outdated
Comment thread dpctl/_sycl_queue.pyx Outdated
@ndgrigorian ndgrigorian requested a review from antonwolfy April 15, 2026 17:15
Copy link
Copy Markdown
Collaborator

@antonwolfy antonwolfy left a comment

Choose a reason for hiding this comment

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

LGTM

@ndgrigorian ndgrigorian merged commit 362afe3 into master Apr 15, 2026
70 checks passed
@ndgrigorian ndgrigorian deleted the remove-uses-of-format-for-strings branch April 15, 2026 18:09
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.

3 participants