Skip to content

Critical Bugfix: Run nbdev_clean to make sure nbs/index.ipynb conform to the standard#19

Merged
jph00 merged 1 commit intoAnswerDotAI:masterfrom
deephbz:bugfix/nbdev-clean
Feb 12, 2025
Merged

Critical Bugfix: Run nbdev_clean to make sure nbs/index.ipynb conform to the standard#19
jph00 merged 1 commit intoAnswerDotAI:masterfrom
deephbz:bugfix/nbdev-clean

Conversation

@deephbz
Copy link
Copy Markdown
Contributor

@deephbz deephbz commented Dec 27, 2024

Issue this PR solves

nbdev-ci Github Action will do a nbdev_clean and check git status to make sure all notebooks conform to the nbdev_clean standard. However, the existing nbs/index.ipynb does not satisfy this standard. This causes nbdev-ci workflow to fail, which in turn makes all users following the nbdev tutorial fail and get confusing at the step.
I love the literate + exploratory programming principle and would love to push it further. Therefore, such issue blocking new users' onboarding should be fixed with priority.

Minimal Reproducible Example (b4 and after fix)

Before Fix

Simply follow the tutorial and the first Github Action run will fail: At log line 250 nbdev_clean runs and at line 254 git status check fails.

After Fix

This Github Action is run on a PRed branch of the same repo. The PR change is the same as what's proposed in this PR.

@deephbz deephbz changed the title Run nbdev_clean to make sure nbs/index.ipynb conform to the standard Critical Bugfix: Run nbdev_clean to make sure nbs/index.ipynb conform to the standard Dec 27, 2024
@jph00
Copy link
Copy Markdown
Contributor

jph00 commented Feb 12, 2025

Thank you.

@jph00 jph00 merged commit d9ebb91 into AnswerDotAI:master Feb 12, 2025
@deephbz deephbz deleted the bugfix/nbdev-clean branch February 13, 2025 01:42
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