graphene/tox.ini

37 lines
589 B
INI
Raw Normal View History

2015-09-24 12:11:50 +03:00
[tox]
envlist = flake8,py36,py37,pre-commit,mypy
skipsdist = true
2015-09-24 12:11:50 +03:00
[testenv]
2018-08-31 21:01:03 +03:00
deps =
.[test]
py{36,37}: pytest-asyncio
2015-10-11 03:50:41 +03:00
setenv =
2018-08-31 21:01:03 +03:00
PYTHONPATH = .:{envdir}
commands =
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
[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]