summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Ruhlov <anton@paxful.com>2020-04-10 14:50:16 +0300
committerAnton Ruhlov <anton@paxful.com>2020-04-10 14:50:16 +0300
commit8ae0ecb598f26ce77c6ae8d3da283e9c65899852 (patch)
treea36b10dc4346c84edc8e6a84deb77c7648e0176c
parente7165a7cf57a31d1b5d5d7d9c9e9788cc299133c (diff)
downloadoauthlib-8ae0ecb598f26ce77c6ae8d3da283e9c65899852.tar.gz
Added isort to tox envlist
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index abb72ca..1429eb8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py35,py36,py37,pypy,pypy3,docs,readme,bandit
+envlist = py35,py36,py37,pypy,pypy3,docs,readme,bandit,isort
[testenv]
deps=
@@ -34,3 +34,10 @@ skipsdist=True
deps=bandit
commands=bandit -b bandit.json -r oauthlib/
whitelist_externals=bandit
+
+[testenv:isort]
+basepython = python3.7
+usedevelop = false
+deps = isort
+changedir = {toxinidir}
+commands = isort --recursive --check-only --diff oauthlib tests \ No newline at end of file