tox: add manage target

This commit is contained in:
Benjamin Dauvergne 2022-03-10 16:54:54 +01:00
parent 7094728b47
commit 7c5c732388
1 changed files with 15 additions and 0 deletions

15
tox.ini
View File

@ -37,6 +37,21 @@ commands =
python setup.py compile_translations
py.test {env:COVERAGE:} {env:JUNIT:} {tty:--sw:} {posargs:tests/}
[testenv:manage]
usedevelop = True
setenv =
DJANGO_SETTINGS_MODULE=petale.settings
PETALE_SETTINGS_FILE=tests/settings.py
SETUPTOOLS_USE_DISTUTILS=stdlib
deps =
psycopg2-binary
django-debug-toolbar
ipython
ipdb
commands =
./manage.py {posargs:--help}
[testenv:pylint]
usedevelop = true
basepython = python3