##// END OF EJS Templates
Allow InputTransformers to raise SyntaxErrors...
Allow InputTransformers to raise SyntaxErrors This is a relatively trivial modification of the IPython main loop to catch a possible SyntaxError and print it instead of quitting. Doctesting this change is somewhat tricky since we actually need to run the main TerminalInteractiveShell.interact() loop, and is done through a subprocess and piping in a testcase.
Volker Braun -
r13522:ccd47251
Show More
Name Size Modified Last Commit Author
/ git-hooks
README.md 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 just update submodules,
so make sure that you have a fully synced repo whenever you checkout or pull.

To use these hooks, you can symlink or copy them to your .git/hooks directory.

ln -s ../../git-hooks/post-checkout .git/hooks/post-checkout
ln -s ../../git-hooks/post-merge .git/hooks/post-merge