##// END OF EJS Templates
DEV: AST transformers supplied to `InteractiveShell` can reject input....
DEV: AST transformers supplied to `InteractiveShell` can reject input. * Adds a new exception class, `InputRejected` to IPython.lib.security. * Updates `InteractiveShell.run_cell` and `InteractiveShell.transform_ast` to allow user-supplied AST transformers to reject input by raising an `InputRejected`. * Adds tests for the above behavior.
Scott Sanderson -
r17798:2591b6eb
Show More
Name Size Modified Last Commit Author
/ git-hooks
README.md Loading ...
install-hooks.sh Loading ...
post-checkout Loading ...
post-merge Loading ...

git hooks for IPython

add these to your .git/hooks

For now, we just have post-checkout and post-merge,
both of which update submodules and attempt to rebuild css sourcemaps,
so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, run ./install-hooks.sh.
If you havn't initialised and updated the submodules manually, you will then need to run git checkout master to activate the hooks (even if you already have master checked out).