File size: 537 Bytes
2b06d1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py3{6,7,8,9,10}, mypy, pre-commit
skipsdist = true

[testenv]
deps =
    .[test]
setenv =
     PYTHONPATH = .:{envdir}
commands =
    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 =
    pre-commit run --all-files --show-diff-on-failure

[testenv:mypy]
basepython = python3.10
deps =
    mypy>=0.950,<1
commands =
    mypy graphene

[pytest]