Fixed #34046 -- Fixed pinning flake8 and isort versions in tox.ini.
This commit is contained in:
parent
f3822d4ab0
commit
8eed30aec6
8
tox.ini
8
tox.ini
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue