]> git.phdru.name Git - m_librarian.git/blobdiff - tox.ini
Run flake8 from root to test docs and scripts
[m_librarian.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 596e198a334d9e14660cb5c8525c3b5d31bb34a4..57654e00cc5f7f0d4ac5e4899bdcd932acf59812 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -16,11 +16,10 @@ sitepackages = True
 # Don't fail or warn on uninstalled commands
 whitelist_externals =
     flake8
-    py.test
 
 [general]
 commands =
-    python /usr/local/bin/py.test --cov={envsitepackagesdir}/m_librarian
+    python -m pytest --cov=m_librarian
 
 [testenv:py26]
 commands = {[general]commands}
@@ -34,9 +33,9 @@ commands = {[general]commands}
 [testenv:py27-flake8]
 deps =
     flake8
-commands = flake8 m_librarian scripts test
+commands = flake8
 
 [testenv:py34-flake8]
 deps =
     flake8
-commands = flake8 m_librarian scripts test
+commands = flake8