Skip to content

Conversation

daphn3k
Copy link

@daphn3k daphn3k commented Sep 13, 2025

fixes #1530

The actual fix is a couple of lines in sync.ipynb 's function _update_nb().
Below it, I have added two cells for comparing nbdev_update with and without the fix.
To be able to compare (as well as reproducing the bug) I had to add a new notebook (tests/update_directives.ipynb) and its exported py file (nbdev/test_update_directives.py).

This is my first pull request to this repo, so apologies if it doesn't fully conform. Feedback is welcome :)

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.

nbdev_update duplicates directives
1 participant