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

This commit is contained in:
Michael Howitz 2022-09-24 17:32:42 +01:00 committed by GitHub
parent f3822d4ab0
commit 8eed30aec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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