graphene/tox.ini
Dan a7168ffc6e Fix: Make tox stop failing (#741)
* Tox stopped working due to recent changes; add in necessary dependencies to tox.ini so it passes again

* Run pre-commit on all files

* Switch testenv deps to .[test] instead of an explicit list so the list of test deps in setup.py becomes the single source of truth for test deps.
2018-05-28 21:25:15 +01:00

28 lines
419 B
INI

[tox]
envlist = flake8,py27,py33,py34,py35,py36,pre-commit,pypy
skipsdist = true
[testenv]
deps = .[test]
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]