tox.ini
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 03 Sep 2018 10:50:59 +0200
changeset 542 aabf5c567bb2
child 548 e9a2865e4095
child 572 48453d0c1040
permissions -rw-r--r--
add tox configuration

[tox]
envlist = py27,py36,flake8

[testenv]
deps =
  pytest
  nltk
  SPARQLWrapper
commands =
  {envpython} -m pytest {posargs:test}

[testenv:flake8]
skip_install = true
whitelist_externals =
  flake8
deps =
  flake8
commands = flake8

[flake8]
exclude = examples/*,test/*,test/data/*,.tox/*
max-line-length = 100

[pytest]
python_files = *test_*.py
testpaths = test
addopts = -r fEs