Commit 13637e9b authored by Christoph Ruegge's avatar Christoph Ruegge
Browse files

Fix pre-commit hook

parent 3a2b0db0
......@@ -7,7 +7,7 @@ cd "$(git rev-parse --show-toplevel)"
if git diff --cached --name-only | grep -q '^exercises/'; then
git stash -q --keep-index
rm -f exercises/*.ipynb
git rm -f exercises/*.ipynb
for nb in exercises/solutions/*.ipynb; do
target="exercises/$(basename "$nb")"
cat "$nb" | $(git config filter.ipynb-codecells.clean) > "$target"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment