tox.ini
author Simon Chabot <simon.chabot@logilab.fr>
Thu, 21 Mar 2019 16:45:25 +0100
changeset 546 cfa85506a071
parent 542 aabf5c567bb2
child 548 e9a2865e4095
child 572 48453d0c1040
permissions -rw-r--r--
[aligner] Use the processings' weight to compute the distance matrix All the processing objects have a `weight` attribute so they can be mixed each other with their own weighting. Let's use it ! This attribute was unsed until now. Differential Revision: https://phab.logilab.fr/D2066

[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