Skip to content

Add setup_notebook() to replace pyprojroot boilerplate#85

Merged
Jammy2211 merged 1 commit intomainfrom
feature/setup-notebook-boilerplate
Apr 9, 2026
Merged

Add setup_notebook() to replace pyprojroot boilerplate#85
Jammy2211 merged 1 commit intomainfrom
feature/setup-notebook-boilerplate

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

  • Adds autoconf.setup_notebook() — a single-call utility that finds the workspace root, sets the working directory, reconfigures autoconf paths, and enables inline plotting
  • Removes pyprojroot from Colab install lists (no longer needed)
  • Follows the existing setup_colab pattern

Test plan

  • Verified _find_workspace_root() correctly finds workspace root from subdirectories
  • Verified setup_notebook() changes cwd and prints confirmation
  • Generate notebooks and verify the uncommented cell works in Jupyter

🤖 Generated with Claude Code

…pace notebooks

Adds a single-call utility that finds the workspace root (via config/ directory),
sets the working directory, reconfigures autoconf paths, and enables inline plotting.
This replaces the 5-line pyprojroot boilerplate previously needed in every script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 36014a5 into main Apr 9, 2026
2 checks passed
@Jammy2211 Jammy2211 deleted the feature/setup-notebook-boilerplate branch April 9, 2026 08:11
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.

1 participant