Skip to content

Commit 8ae0ecb

Browse files
author
Anton Ruhlov
committed
Added isort to tox envlist
1 parent e7165a7 commit 8ae0ecb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tox.ini

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35,py36,py37,pypy,pypy3,docs,readme,bandit
2+
envlist = py35,py36,py37,pypy,pypy3,docs,readme,bandit,isort
33

44
[testenv]
55
deps=
@@ -34,3 +34,10 @@ skipsdist=True
3434
deps=bandit
3535
commands=bandit -b bandit.json -r oauthlib/
3636
whitelist_externals=bandit
37+
38+
[testenv:isort]
39+
basepython = python3.7
40+
usedevelop = false
41+
deps = isort
42+
changedir = {toxinidir}
43+
commands = isort --recursive --check-only --diff oauthlib tests

0 commit comments

Comments
 (0)