isort show diff

This commit is contained in:
Raphael Michel
2017-06-01 15:44:11 +02:00
parent c67a53d156
commit 6e81d8acec

View File

@@ -18,7 +18,7 @@ if [ "$1" == "style" ]; then
XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt -r src/requirements/py34.txt XDG_CACHE_HOME=/cache pip3 install -Ur src/requirements.txt -r src/requirements/dev.txt -r src/requirements/py34.txt
cd src cd src
flake8 . flake8 .
isort -c -rc . isort -c -rc -df .
fi fi
if [ "$1" == "doctests" ]; then if [ "$1" == "doctests" ]; then
XDG_CACHE_HOME=/cache pip3 install -Ur doc/requirements.txt -r src/requirements/py34.txt XDG_CACHE_HOME=/cache pip3 install -Ur doc/requirements.txt -r src/requirements/py34.txt