mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 01:26:49 +03:00
cf97cbb1de
* fix: use dateutil-parse for < 3.11 support * chore: lint * chore: lint * fix mypy deps * fix mypy deps * chore: lint * chore: fix test
28 lines
474 B
INI
28 lines
474 B
INI
[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]
|