Commit d6415267 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

Add in Scripts the pre-commit script.

parent c351b53f
#!/bin/bash
# This file is expected to be use as pre-commit git hook; copy it in .git/hooks/
file_list=`git diff --cached --name-only`
root_dir=`git rev-parse --show-toplevel`
python ${root_dir}/Scripts/check_no_executed_cell.py ${file_list}
Markdown is supported
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