Browse Source

Fixed #34046 -- Fixed pinning flake8 and isort versions in tox.ini.

Michael Howitz 2 years ago
parent
commit
8eed30aec6
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tox.ini

+ 4 - 4
tox.ini

@@ -9,9 +9,9 @@ skipsdist = true
 envlist =
     py3
     black
-    flake8 >= 3.7.0
+    flake8
     docs
-    isort >= 5.1.0
+    isort
 
 # Add environment to use the default python3 installation
 [testenv:py3]
@@ -42,7 +42,7 @@ commands = black --check --diff .
 [testenv:flake8]
 basepython = python3
 usedevelop = false
-deps = flake8
+deps = flake8 >= 3.7.0
 changedir = {toxinidir}
 commands = flake8 .
 
@@ -62,7 +62,7 @@ commands =
 [testenv:isort]
 basepython = python3
 usedevelop = false
-deps = isort
+deps = isort >= 5.1.0
 changedir = {toxinidir}
 commands = isort --check-only --diff django tests scripts