]> git.phdru.name Git - git-scripts.git/blobdiff - hooks/post-rewrite
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / hooks / post-rewrite
index 02466f9c73d44757d3cfea9ab2e634c3a295a832..59efb3dcfc7f6eda57f24c42bb53660a19cf4d81 100755 (executable)
@@ -2,7 +2,7 @@
 
 # post-rewrite hook that compiles python files to byte code
 
-python2.7 -m compileall -q . &&
-python2.7 -O -m compileall -q .
+python    -m compileall -q -x '\.tox/' . &&
+python -O -m compileall -q -x '\.tox/' .
 
 exit 0