Skip to content

Commit f0ae346

Browse files
Tim Lanetilne
authored andcommitted
Pin isort version
Signed-off-by: Tim Lane <[email protected]>
1 parent ac9043d commit f0ae346

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,14 @@ commands =
5151

5252
# isort is an imports sorter for python: https://github.com/timothycrosley/isort
5353
# The following target sorts the import according to .isort.cfg file.
54+
# Pin isort to the last release prior to 5.0.0, which resulted in import
55+
# statements being flagged as improperly sorted where previously they were
56+
# not. See https://timothycrosley.github.io/isort/docs/major_releases/introducing_isort_5/.
5457
[testenv:isort]
5558
basepython = python3
5659
skip_install = true
5760
deps =
58-
isort
61+
isort==4.3.21
5962
seed-isort-config
6063
commands =
6164
isort -rc -w 120 \

0 commit comments

Comments
 (0)