mirror of https://github.com/django/django.git
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 =
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue