summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2022-09-24 17:32:42 +0100
committerGitHub <noreply@github.com>2022-09-24 17:32:42 +0100
commit8eed30aec606ff70eee920af84e880ea19da481b (patch)
tree7596a8d0d330e0e5be717da2782e5c7b53e09b12 /tox.ini
parentf3822d4ab005ac5db9000ed384519edfd5bbc041 (diff)
downloaddjango-8eed30aec606ff70eee920af84e880ea19da481b.tar.gz
Fixed #34046 -- Fixed pinning flake8 and isort versions in tox.ini.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 4 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 3b9f663385..aad46f7d68 100644
--- a/tox.ini
+++ b/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