graphene/tox.ini

30 lines
537 B
INI
Raw Permalink Normal View History

2015-09-24 12:11:50 +03:00
[tox]
envlist = py3{6,7,8,9,10}, mypy, pre-commit
skipsdist = true
2015-09-24 12:11:50 +03:00
[testenv]
2018-08-31 21:01:03 +03:00
deps =
.[test]
2015-10-11 03:50:41 +03:00
setenv =
2018-08-31 21:01:03 +03:00
PYTHONPATH = .:{envdir}
commands =
2022-06-27 17:30:01 +03:00
py{36,37,38,39,310}: pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
[testenv:pre-commit]
basepython = python3.10
deps =
pre-commit>=2.16,<3
setenv =
LC_CTYPE=en_US.UTF-8
commands =
2021-08-21 19:07:30 +03:00
pre-commit run --all-files --show-diff-on-failure
[testenv:mypy]
basepython = python3.10
deps =
2022-05-06 23:31:31 +03:00
mypy>=0.950,<1
commands =
mypy graphene
2015-09-30 09:40:40 +03:00
[pytest]