Skip to content

Commit a0188b6

Browse files
committed
tox: Use flake8-isort
1 parent 83ec4ac commit a0188b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ deps = sphinx
3636
[testenv:flake8]
3737
skip_install = True
3838
commands =
39-
flake8 {toxinidir} {posargs}
40-
isort {toxinidir} -c
39+
flake8 {toxinidir}
4140
deps =
4241
flake8
42+
flake8-isort
4343
flake8-quotes
44-
isort
4544

4645
[coverage:run]
4746
source = oauth2_provider
@@ -54,9 +53,10 @@ application-import-names = oauth2_provider
5453
inline-quotes = double
5554

5655
[isort]
57-
lines_after_imports = 2
56+
balanced_wrapping = True
57+
default_section = THIRDPARTY
5858
known_first_party = oauth2_provider
59+
line_length = 80
60+
lines_after_imports = 2
5961
multi_line_output = 5
6062
skip = oauth2_provider/migrations/, .tox/
61-
line_length = 80
62-
balanced_wrapping = True

0 commit comments

Comments
 (0)