Skip to content

Commit 762bf9f

Browse files
committed
clean: metadata in notebooks
1 parent d4ab9e6 commit 762bf9f

22 files changed

+22
-148
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
rev: 0.8.1
2828
hooks:
2929
- id: nbstripout
30-
args: [ --extra-keys="metadata.kernelspec metadata.language_info.codemirror_mode.version metadata.language_info.pygments_lexer metadata.language_info.version" ]
30+
args: [ --extra-keys=metadata.language_info.codemirror_mode.version metadata.kernelspec metadata.language_info.pygments_lexer metadata.language_info.version ]
3131

3232

3333

advanced-python/10Basics.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -506,20 +506,14 @@
506506
}
507507
],
508508
"metadata": {
509-
"kernelspec": {
510-
"display_name": "Python 3 (ipykernel)",
511-
"language": "python",
512-
"name": "python3"
513-
},
514509
"language_info": {
515510
"codemirror_mode": {
516511
"name": "ipython"
517512
},
518513
"file_extension": ".py",
519514
"mimetype": "text/x-python",
520515
"name": "python",
521-
"nbconvert_exporter": "python",
522-
"version": "3.9.7"
516+
"nbconvert_exporter": "python"
523517
},
524518
"nbsphinx": {
525519
"execute": "auto"

advanced-python/11AdvancedPython.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -965,20 +965,14 @@
965965
}
966966
],
967967
"metadata": {
968-
"kernelspec": {
969-
"display_name": "Python [conda env:anaessentials311] *",
970-
"language": "python",
971-
"name": "python"
972-
},
973968
"language_info": {
974969
"codemirror_mode": {
975970
"name": "ipython"
976971
},
977972
"file_extension": ".py",
978973
"mimetype": "text/x-python",
979974
"name": "python",
980-
"nbconvert_exporter": "python",
981-
"version": "3.12.4"
975+
"nbconvert_exporter": "python"
982976
}
983977
},
984978
"nbformat": 4,

advanced-python/12AdvancedClasses.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -503,20 +503,14 @@
503503
}
504504
],
505505
"metadata": {
506-
"kernelspec": {
507-
"display_name": "Python [conda env:anaessentials311] *",
508-
"language": "python",
509-
"name": "python"
510-
},
511506
"language_info": {
512507
"codemirror_mode": {
513508
"name": "ipython"
514509
},
515510
"file_extension": ".py",
516511
"mimetype": "text/x-python",
517512
"name": "python",
518-
"nbconvert_exporter": "python",
519-
"version": "3.12.4"
513+
"nbconvert_exporter": "python"
520514
}
521515
},
522516
"nbformat": 4,

advanced-python/20DataAndPlotting.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -658,20 +658,14 @@
658658
}
659659
],
660660
"metadata": {
661-
"kernelspec": {
662-
"display_name": "Python [conda env:anaess39] *",
663-
"language": "python",
664-
"name": "conda-env-anaess39-py"
665-
},
666661
"language_info": {
667662
"codemirror_mode": {
668663
"name": "ipython"
669664
},
670665
"file_extension": ".py",
671666
"mimetype": "text/x-python",
672667
"name": "python",
673-
"nbconvert_exporter": "python",
674-
"version": "3.12.7"
668+
"nbconvert_exporter": "python"
675669
}
676670
},
677671
"nbformat": 4,

advanced-python/30Classification.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -658,20 +658,14 @@
658658
}
659659
],
660660
"metadata": {
661-
"kernelspec": {
662-
"display_name": "Python [conda env:anaess39] *",
663-
"language": "python",
664-
"name": "conda-env-anaess39-py"
665-
},
666661
"language_info": {
667662
"codemirror_mode": {
668663
"name": "ipython"
669664
},
670665
"file_extension": ".py",
671666
"mimetype": "text/x-python",
672667
"name": "python",
673-
"nbconvert_exporter": "python",
674-
"version": "3.12.7"
668+
"nbconvert_exporter": "python"
675669
}
676670
},
677671
"nbformat": 4,

advanced-python/31ClassificationExtension.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -336,20 +336,14 @@
336336
}
337337
],
338338
"metadata": {
339-
"kernelspec": {
340-
"display_name": "Python 3 (ipykernel)",
341-
"language": "python",
342-
"name": "python3"
343-
},
344339
"language_info": {
345340
"codemirror_mode": {
346341
"name": "ipython"
347342
},
348343
"file_extension": ".py",
349344
"mimetype": "text/x-python",
350345
"name": "python",
351-
"nbconvert_exporter": "python",
352-
"version": "3.9.7"
346+
"nbconvert_exporter": "python"
353347
}
354348
},
355349
"nbformat": 4,

advanced-python/32BoostingToUniformity.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -237,20 +237,14 @@
237237
}
238238
],
239239
"metadata": {
240-
"kernelspec": {
241-
"display_name": "Python 3 (ipykernel)",
242-
"language": "python",
243-
"name": "python3"
244-
},
245240
"language_info": {
246241
"codemirror_mode": {
247242
"name": "ipython"
248243
},
249244
"file_extension": ".py",
250245
"mimetype": "text/x-python",
251246
"name": "python",
252-
"nbconvert_exporter": "python",
253-
"version": "3.9.7"
247+
"nbconvert_exporter": "python"
254248
},
255249
"nbsphinx": {
256250
"execute": "never"

advanced-python/40Histograms.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -547,20 +547,14 @@
547547
}
548548
],
549549
"metadata": {
550-
"kernelspec": {
551-
"display_name": "Python 3 (ipykernel)",
552-
"language": "python",
553-
"name": "python3"
554-
},
555550
"language_info": {
556551
"codemirror_mode": {
557552
"name": "ipython"
558553
},
559554
"file_extension": ".py",
560555
"mimetype": "text/x-python",
561556
"name": "python",
562-
"nbconvert_exporter": "python",
563-
"version": "3.9.7"
557+
"nbconvert_exporter": "python"
564558
}
565559
},
566560
"nbformat": 4,

advanced-python/45DemoReweighting.ipynb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -485,20 +485,14 @@
485485
}
486486
],
487487
"metadata": {
488-
"kernelspec": {
489-
"display_name": "Python 3 (ipykernel)",
490-
"language": "python",
491-
"name": "python3"
492-
},
493488
"language_info": {
494489
"codemirror_mode": {
495490
"name": "ipython"
496491
},
497492
"file_extension": ".py",
498493
"mimetype": "text/x-python",
499494
"name": "python",
500-
"nbconvert_exporter": "python",
501-
"version": "3.9.7"
495+
"nbconvert_exporter": "python"
502496
}
503497
},
504498
"nbformat": 4,

0 commit comments

Comments
 (0)