File: tox.ini

package info (click to toggle)
python-graphene 3.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,124 kB
  • sloc: python: 8,935; makefile: 212; sh: 18
file content (27 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (2)
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
[tox]
envlist = py3{8,9,10,11,12,13}, mypy, pre-commit
skipsdist = true

[testenv]
deps =
    .[test]
commands =
    pytest --cov=graphene graphene --cov-report=term --cov-report=xml examples {posargs}

[testenv:pre-commit]
basepython = python3.10
deps =
    pre-commit>=3.7,<4
setenv =
    LC_CTYPE=en_US.UTF-8
commands =
    pre-commit run --all-files --show-diff-on-failure

[testenv:mypy]
basepython = python3.10
deps =
    .[dev]
commands =
    mypy graphene

[pytest]