2015-09-24 12:11:50 +03:00
|
|
|
[tox]
|
2024-06-28 16:03:34 +03:00
|
|
|
envlist = py3{8,9,10,11,12,13}, mypy, pre-commit
|
2015-10-31 23:46:43 +03:00
|
|
|
skipsdist = true
|
2015-09-24 12:11:50 +03:00
|
|
|
|
|
|
|
[testenv]
|
2018-08-31 21:01:03 +03:00
|
|
|
deps =
|
2018-08-31 20:41:20 +03:00
|
|
|
.[test]
|
|
|
|
commands =
|
2024-08-08 12:49:26 +03:00
|
|
|
pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}
|
2015-10-31 23:46:43 +03:00
|
|
|
|
2018-05-22 20:56:58 +03:00
|
|
|
[testenv:pre-commit]
|
2022-08-28 18:33:35 +03:00
|
|
|
basepython = python3.10
|
2018-05-22 20:56:58 +03:00
|
|
|
deps =
|
2024-09-29 14:32:26 +03:00
|
|
|
pre-commit>=3.7,<4
|
2018-05-22 20:56:58 +03:00
|
|
|
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
|
2018-05-22 20:56:58 +03:00
|
|
|
|
2018-06-11 19:12:27 +03:00
|
|
|
[testenv:mypy]
|
2022-08-28 18:33:35 +03:00
|
|
|
basepython = python3.10
|
2018-06-11 19:12:27 +03:00
|
|
|
deps =
|
2024-10-27 23:14:55 +03:00
|
|
|
.[dev]
|
2018-06-11 19:12:27 +03:00
|
|
|
commands =
|
|
|
|
mypy graphene
|
|
|
|
|
2015-09-30 09:40:40 +03:00
|
|
|
[pytest]
|