summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2020-04-22 16:31:44 +0200
committerGitHub <noreply@github.com>2020-04-22 16:31:44 +0200
commit6875e3ac513a3828c3328d4f585d4c38b2b2c698 (patch)
tree3ebf7d0a8b521f91a769e1f31c9bf8d4cc75e110 /tox.ini
parent406653fc3018b8ae292234caef6df434cf612a52 (diff)
parent3e582846591e213ba8ec1780a5a5aadf69a090a2 (diff)
downloadoauthlib-6875e3ac513a3828c3328d4f585d4c38b2b2c698.tar.gz
Merge pull request #727 from antonrh/isort-integration
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 32cd5bf..aad4538 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