forked from life4/textdistance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (35 loc) · 726 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist =
py{2,35,36}-{CONS,NOCONS}-{NUMPY,NONUMPY},
py37-NOCONS-NONUMPY,
pypy-NOCONS-NONUMPY,
[testenv]
commands =
python run_tests.py
envdir = {toxworkdir}/venvs/{envname}
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
CONS: WITH_CONSTRAINTS=yes
NOCONS: WITH_CONSTRAINTS=no
NUMPY: WITH_NUMPY=yes
NONUMPY: WITH_NUMPY=no
deps =
CONS: abydos
CONS: distance
CONS: jellyfish
CONS: pylev
CONS: py_stringmatching
CONS: python-Levenshtein
CONS: pyxDamerauLevenshtein
NUMPY: numpy
py2: unittest2
py2: PylibLZMA
[testenv:flake8]
skip_install = True
deps =
-r requirements-flake.txt
commands =
flake8 {toxinidir}/textdistance {toxinidir}/tests
[flake8]
max-line-length = 120