Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deephbz
Copy link

@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
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