Skip to content

Update remaining existing examples to make testable/standalone executable#1437

Merged
timsaucer merged 7 commits intoapache:mainfrom
rerun-io:nick/update_other_examples
Mar 27, 2026
Merged

Update remaining existing examples to make testable/standalone executable#1437
timsaucer merged 7 commits intoapache:mainfrom
rerun-io:nick/update_other_examples

Conversation

@ntjohnson1
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

This is related to all the other doctest PRs. I can open an issue if necessary.

Rationale for this change

Functions covers the majority of the public facing API but now that that looks nice make the rest of the existing examples match.

What changes are included in this PR?

  • Update ruff. In pre-commit ruff is at 0.15.1 but in the uv.lock it was at 0.9.1. Bump ruff and resolve issues (ignore them)
  • Find all existing examples and convert them to doctest versions
    • Only found a single bug in dataframe.py
    • Kept pretty close to the existing examples so large parts of this are no-op

Are there any user-facing changes?

Only docs

@ntjohnson1 ntjohnson1 changed the title Nick/update other examples Update remaining existing examples to make testable/standalone executable Mar 19, 2026
Copy link
Copy Markdown
Member

@timsaucer timsaucer left a comment

Choose a reason for hiding this comment

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

Thanks @ntjohnson1 !

@timsaucer timsaucer merged commit 6cea061 into apache:main Mar 27, 2026
19 checks passed
@ntjohnson1 ntjohnson1 deleted the nick/update_other_examples branch March 27, 2026 13:32
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.

2 participants