Update tox.ini

This commit is contained in:
Aryan Iyappan 2021-08-21 17:46:14 +05:30 committed by GitHub
parent 7960b02124
commit 3145543386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ commands =
py{36,37,38}: pytest --cov=graphene graphene examples {posargs} py{36,37,38}: pytest --cov=graphene graphene examples {posargs}
[testenv:pre-commit] [testenv:pre-commit]
basepython=python3.7 basepython=python3.8
deps = deps =
pre-commit>=2,<3 pre-commit>=2,<3
setenv = setenv =
@ -20,16 +20,16 @@ commands =
pre-commit {posargs:run --all-files} pre-commit {posargs:run --all-files}
[testenv:mypy] [testenv:mypy]
basepython=python3.7 basepython=python3.8
deps = deps =
mypy>=0.761,<1 mypy>=0.761,<1
commands = commands =
mypy graphene mypy graphene
[testenv:flake8] [testenv:flake8]
basepython=python3.7 basepython=python3.8
deps = deps =
flake8>=3.7,<4 flake8>=3.8,<4
commands = commands =
pip install --pre -e . pip install --pre -e .
flake8 graphene flake8 graphene