mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
39 lines
582 B
INI
39 lines
582 B
INI
[tox]
|
|
envlist = flake8,py27,py33,py34,py35,py36,pre-commit,pypy
|
|
skipsdist = true
|
|
|
|
[testenv]
|
|
deps=
|
|
pytest>=2.7.2
|
|
graphql-core>=1.1
|
|
promise>=2.0
|
|
graphql-relay>=0.4.5
|
|
six
|
|
blinker
|
|
singledispatch
|
|
mock
|
|
pytz
|
|
iso8601
|
|
pytest-benchmark
|
|
setenv =
|
|
PYTHONPATH = .:{envdir}
|
|
commands=
|
|
py.test
|
|
|
|
[testenv:pre-commit]
|
|
basepython=python3.6
|
|
deps =
|
|
pre-commit>0.12.0
|
|
setenv =
|
|
LC_CTYPE=en_US.UTF-8
|
|
commands =
|
|
pre-commit {posargs:run --all-files}
|
|
|
|
[testenv:flake8]
|
|
deps = flake8
|
|
commands =
|
|
pip install -e .
|
|
flake8 graphene
|
|
|
|
[pytest]
|