diff options
author | Krombel <krombel@krombel.de> | 2018-07-16 13:46:49 +0200 |
---|---|---|
committer | Krombel <krombel@krombel.de> | 2018-07-16 13:57:33 +0200 |
commit | 4a27000548d2b5194256152305fe121f671f0c81 (patch) | |
tree | 87903857593f009efa86f678863695b6bbfb8560 /tox.ini | |
parent | Fix develop because I broke it :( (#3535) (diff) | |
download | synapse-4a27000548d2b5194256152305fe121f671f0c81.tar.xz |
check isort by travis
Diffstat (limited to '')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini index 61a20a10cb..c7491690c5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = packaging, py27, py36, pep8 +envlist = packaging, py27, py36, pep8, isort [testenv] deps = @@ -103,10 +103,14 @@ deps = flake8 commands = /bin/sh -c "flake8 synapse tests {env:PEP8SUFFIX:}" +[testenv:isort] +skip_install = True +deps = isort +commands = /bin/sh -c "isort -c -sp setup.cfg -rc synapse tests" [testenv:check-newsfragment] skip_install = True deps = towncrier>=18.6.0rc1 commands = python -m towncrier.check --compare-with=origin/develop -basepython = python3.6 \ No newline at end of file +basepython = python3.6 |