graphene/tox.ini

35 lines
539 B
INI
Raw Normal View History

2015-09-24 12:11:50 +03:00
[tox]
envlist = flake8,py27,py33,py34,py35,py36,pre-commit,pypy,mypy
skipsdist = true
2015-09-24 12:11:50 +03:00
[testenv]
deps = .[test]
2015-10-11 03:50:41 +03:00
setenv =
PYTHONPATH = .:{envdir}
2015-09-24 12:11:50 +03:00
commands=
py.test --cov=graphene graphene examples
[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:mypy]
basepython=python3.6
deps =
mypy
commands =
mypy graphene
[testenv:flake8]
deps = flake8
commands =
pip install -e .
flake8 graphene
2015-09-30 09:40:40 +03:00
[pytest]