File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7-
7+
88permissions :
99 contents : write
1010
@@ -32,12 +32,12 @@ jobs:
3232 python -c "
3333 import nbformat
3434 import glob
35- for file in glob.glob('**/*.ypyb ', recursive=True):
35+ for file in glob.glob('**/*.ipynb ', recursive=True):
3636 with open(file, 'r') as f:
3737 nb = nbformat.read(f, as_version=4)
3838 nbformat.validate(nb)
39- if 'application/vnd.beylor-adapt+notebook ' not in nb.metadata:
40- nb.metadata['application/vnd.beylor-adapt+notebook '] = {'version': '1.0'}
39+ if 'application/vnd.jupyter.widget-state+json ' not in nb.metadata:
40+ nb.metadata['application/vnd.jupyter.widget-state+json '] = {'version': '1.0'}
4141 with open(file, 'w') as f:
4242 nbformat.write(nb, f)
4343 "
You can’t perform that action at this time.
0 commit comments