]> git.ozlabs.org Git - patchwork/blobdiff - tox.ini
Move to a more recent django project structure
[patchwork] / tox.ini
diff --git a/tox.ini b/tox.ini
index 8d99e6a8176ee46e0936a47b427f1487862881e1..485f7c7acfa292847ab297e442fce0f11f3eba24 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -8,14 +8,14 @@ commands = flake8 {posargs}
 
 [flake8]
 ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
-exclude = ./apps/patchwork/tests
+exclude = ./patchwork/tests
 
 [testenv:lint]
 basepython = python2.7
 deps =
     pylint
     -r{toxinidir}/docs/requirements-django-1.7-mysql.txt
-commands = pylint apps --rcfile=pylint.rc
+commands = pylint patchwork --rcfile=pylint.rc
 
 [testenv:coverage]
 basepython = python2.7
@@ -26,16 +26,16 @@ setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev
 commands =
     coverage erase
-    {toxinidir}/apps/manage.py syncdb
-    coverage run --omit=*tox* --branch {toxinidir}/apps/manage.py test patchwork
+    {toxinidir}/manage.py syncdb
+    coverage run --omit=*tox* --branch {toxinidir}/manage.py test patchwork
     coverage report -m
 
 [testenv]
 basepython =
     py27: python2.7
 commands =
-    {toxinidir}/apps/manage.py syncdb
-    {toxinidir}/apps/manage.py test patchwork
+    {toxinidir}/manage.py syncdb
+    {toxinidir}/manage.py test patchwork
 deps =
     python-dateutil==1.5
     MySQL-python==1.2.5