graphene/tox.ini
Dan f13e54b4a4 Update contributing docs about using tox and sync tox pytest cmd with travis (#744)
* Update pytest command run by tox to match the command used by travis. Updated README contributing section with info about using tox to run tests.

* Uppercase 'Graphene'
2018-05-30 12:53:44 +01:00

28 lines
452 B
INI

[tox]
envlist = flake8,py27,py33,py34,py35,py36,pre-commit,pypy
skipsdist = true
[testenv]
deps = .[test]
setenv =
PYTHONPATH = .:{envdir}
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:flake8]
deps = flake8
commands =
pip install -e .
flake8 graphene
[pytest]