]> git.phdru.name Git - git-scripts.git/blob - hooks/post-rewrite
Exclude .tox/ virtual environments when compiling byte code
[git-scripts.git] / hooks / post-rewrite
1 #!/bin/sh
2
3 # post-rewrite hook that compiles python files to byte code
4
5 python    -m compileall -q -x '\.tox/.+' . &&
6 python -O -m compileall -q -x '\.tox/.+' .
7
8 exit 0