File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7- push :
8- branches :
9- - main
107
118permissions :
129 contents : write
Original file line number Diff line number Diff line change 44 pull_request :
55 branches :
66 - main
7- push :
8- branches :
9- - main
10-
7+
118permissions :
129 contents : write
1310
@@ -35,12 +32,12 @@ jobs:
3532 python -c "
3633 import nbformat
3734 import glob
38- for file in glob.glob('**/*.ypyb ', recursive=True):
35+ for file in glob.glob('**/*.ipynb ', recursive=True):
3936 with open(file, 'r') as f:
4037 nb = nbformat.read(f, as_version=4)
4138 nbformat.validate(nb)
42- if 'application/vnd.beylor-adapt+notebook ' not in nb.metadata:
43- 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'}
4441 with open(file, 'w') as f:
4542 nbformat.write(nb, f)
4643 "
You can’t perform that action at this time.
0 commit comments