[Tests] Fix for isort config package handling

* Force gtk modules to be third_party for tox/travis testing.
This commit is contained in:
bendikro
2016-10-31 12:51:12 +01:00
committed by Calum Lind
parent e26a3dc0e7
commit 2f4cb0156c
2 changed files with 7 additions and 5 deletions

View File

@ -96,7 +96,9 @@ whitelist_externals =
commands =
isort --version
python -c "import subprocess, sys; output = subprocess.check_output(\
'isort -q --diff --recursive deluge docs packaging *.py', shell=True);\
'isort -q --diff --recursive deluge docs packaging *.py\
-o pygtk -o gtk -o gobject -o gtk.gdk -o pango -o cairo -o pangocairo\
', shell=True);\
print output; sys.exit(bool(output))"
[testenv:flake8]