Skip to content

Fix: check --ignore-git-nb-config flag when loading repo config#35

Open
adsepuri35 wants to merge 1 commit intodeshaw:mainfrom
adsepuri35:main
Open

Fix: check --ignore-git-nb-config flag when loading repo config#35
adsepuri35 wants to merge 1 commit intodeshaw:mainfrom
adsepuri35:main

Conversation

@adsepuri35
Copy link
Copy Markdown
Contributor

Issue

--ignore-git-nb-config flag was initialized but was never being checked for when loading .git-nbconfig.yaml.

Fix

Parsed CLI args before loading repo config and skip loading .git-nbconfig.yaml if flag is set.

Testing

Reproduced with a temp repo containing .git-nbconfig.yaml (keep_output: true). Output was stripped when flag was set.

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