diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-05-24 16:57:33 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2015-05-27 10:26:41 +0800 |
commit | ad2762cf775a8dde508de47164d6429f3fd724f1 (patch) | |
tree | e63015a468cfe32c961908f0338d423227799815 /tox.ini | |
parent | f09e982f58384946111d4157fd2b7c2b31b78612 (diff) | |
download | patchwork-ad2762cf775a8dde508de47164d6429f3fd724f1.tar.bz2 patchwork-ad2762cf775a8dde508de47164d6429f3fd724f1.tar.xz |
Move to a more recent django project structure
This change updates patchwor to the newer project struture: we've moved
the actual application out of the apps/ directory, and the
patchwork-specific templates to under the patchwork application.
This gives us the manage.py script in the top-level now.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |