Skip to content

Commit

Permalink
Implemented basic workflow compatible with new si version as a notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
hornauerp committed Oct 10, 2024
1 parent c7c2f5b commit 16d5a42
Show file tree
Hide file tree
Showing 3 changed files with 396 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# .pre-commit-config.yaml
repos:
- repo: local
hooks:
- id: jupyter-nb-clear-output
name: jupyter-nb-clear-output
files: \.ipynb$
stages: [pre-commit]
language: system
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0 # this is optional, use `pre-commit autoupdate` to get the latest rev!
hooks:
Expand Down
12 changes: 11 additions & 1 deletion notebooks/part2_template-extraction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "92f849ca-8cfa-47c9-a2a5-9a84c1b1ed3f",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -137,6 +137,16 @@
"#pprint(sorting_list)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a0f0e9d2",
"metadata": {},
"outputs": [],
"source": [
"sorting_list[:1]"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
Loading

0 comments on commit 16d5a42

Please sign in to comment.