pre-commit - give a try to nbstripout
cf. this stackoverflow Instead of maintaining our own script, we could give a try to https://github.com/kynan/nbstripout/
cf. this stackoverflow Instead of maintaining our own script, we could give a try to https://github.com/kynan/nbstripout/