Skip to content

49 change format strings into f strings#74

Merged
Scottan merged 19 commits into
mainfrom
49-change-format-strings-into-f-strings
Apr 21, 2026
Merged

49 change format strings into f strings#74
Scottan merged 19 commits into
mainfrom
49-change-format-strings-into-f-strings

Conversation

@Scottan
Copy link
Copy Markdown
Collaborator

@Scottan Scottan commented Apr 19, 2026

Closes #49

Advice on whether I've put the box on f-strings in the best place, and if the content is ok

@Scottan Scottan requested a review from andrewgait April 19, 2026 20:25
@Scottan Scottan linked an issue Apr 19, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 19, 2026

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/UoMResearchIT/programming_with_python/compare/md-outputs..md-outputs-PR-74

The following changes were observed in the rendered markdown documents:

 01-introduction.md          | 57 +++++++++++++++++++++++++++++++++++++++++++++
 02-dictionaries.md          | 35 +++++++++++++---------------
 03-numpy_essential.md       | 39 +++++++++++++++----------------
 05-defensive_programming.md | 32 ++++++++++++-------------
 06-units_and_quantities.md  | 32 ++++++++++++-------------
 md5sum.txt                  | 10 ++++----
 6 files changed, 128 insertions(+), 77 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2026-04-21 11:10:15 +0000

Copy link
Copy Markdown
Collaborator

@andrewgait andrewgait left a comment

Choose a reason for hiding this comment

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

The content looks fine to me aside from a few spellings.

I think the merge conflict is because I also added a callout box in the introduction, so this probably needs merging and sorting out.

Comment thread episodes/01-introduction.md Outdated
Comment thread episodes/01-introduction.md Outdated
Comment thread episodes/01-introduction.md
@Scottan
Copy link
Copy Markdown
Collaborator Author

Scottan commented Apr 21, 2026

@andrewgait Thanks for catching my terrible spelling. I've fixed the merge conflict, please let me know if you're happy with the changes

Comment thread episodes/01-introduction.md
Comment thread episodes/01-introduction.md
github-actions Bot pushed a commit that referenced this pull request Apr 21, 2026
Copy link
Copy Markdown
Collaborator

@andrewgait andrewgait left a comment

Choose a reason for hiding this comment

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

Looks good to me - approved.

@Scottan Scottan merged commit e6449a9 into main Apr 21, 2026
5 checks passed
@Scottan Scottan deleted the 49-change-format-strings-into-f-strings branch April 21, 2026 11:13
github-actions Bot pushed a commit that referenced this pull request Apr 21, 2026
Auto-generated via `{sandpaper}`
Source  : e6449a9
Branch  : main
Author  : scottan <33283688+Scottan@users.noreply.github.com>
Time    : 2026-04-21 11:13:04 +0000
Message : Merge pull request #74 from UoMResearchIT/49-change-format-strings-into-f-strings

49 change format strings into f strings
github-actions Bot pushed a commit that referenced this pull request Apr 21, 2026
Auto-generated via `{sandpaper}`
Source  : 2c65972
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2026-04-21 11:14:31 +0000
Message : markdown source builds

Auto-generated via `{sandpaper}`
Source  : e6449a9
Branch  : main
Author  : scottan <33283688+Scottan@users.noreply.github.com>
Time    : 2026-04-21 11:13:04 +0000
Message : Merge pull request #74 from UoMResearchIT/49-change-format-strings-into-f-strings

49 change format strings into f strings
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.

Change .format() strings into f"" strings

2 participants