Skip to content

Update ruff to version 0.16.5 - #1738

Merged
tleonhardt merged 2 commits into
mainfrom
update-ruff
Aug 30, 2026
Merged

tleonhardt merged 2 commits into
mainfrom
update-ruff

Conversation

@tleonhardt

Copy link
Copy Markdown
Member

Bump patch version of ruff used for auto-formatting and linting Python code.

This new version of ruff now auto-formats Python code blocks in Markdown files. The main changes applied by this auto-formatting are whitespace changes and converting single quotes to double quotes in our Python code blocks in the Markdown documentation.

I had to add a couple Markdown comments to turn formatting off and back on in some limited sections that use extra Python Markdown syntax for snippet inclusion that isn't supported by generic Markdown.

Also:

  • Bumped typos to 1.50.0

The only manual changes are to .pre-commit-config.yaml and to three specific files where I added <!-- fmt:off --> / <!-- fmt:on --> comments surrounding snippet inclusion of Python files. All other changes were done by the ruff autoformatter.

This new version of ruff now auto-formats Python code blocks in Markdown files. The main changes applies are whitespace and converting single quotes to double quotes in our Python code blocks in the Markdown documentation.

I had to add a couple Markdown comments to turn formatting off and back on in some limited sections that use extra syntax for snippet inclusion that isn't supported by generic Markdown.
@codecov

codecov Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.64%. Comparing base (6191df8) to head (c90f45d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1738   +/-   ##
=======================================
  Coverage   99.64%   99.64%           
=======================================
  Files          23       23           
  Lines        5960     5960           
=======================================
  Hits         5939     5939           
  Misses         21       21           
Flag Coverage Δ
unittests 99.64% <ø> (ø)

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

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

@tleonhardt

Copy link
Copy Markdown
Member Author

Since this is essentially auto-formatter changes I'm going to merge it in.

@tleonhardt
tleonhardt merged commit f363707 into main Aug 30, 2026
28 checks passed
@tleonhardt
tleonhardt deleted the update-ruff branch August 30, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant