소스 검색

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

Michael Howitz 2 년 전
부모
커밋
8eed30aec6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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