Changing delete command
[logging-analytics.git] / pylog / tox.ini
index bf6b784..14ebfd0 100644 (file)
@@ -14,7 +14,7 @@ deps = -r{toxinidir}/requirements.txt
 setenv = PYTHONPATH={toxinidir}/
 
 commands =
-  /usr/bin/find . -type f -name "*.py[c|o]" -delete
+  /usr/bin/find . -type f -name "*.py[c|o]" -not -path "./.tox" -delete
   py.test
 
 [testenv:pep8]