forked from J535D165/recordlinkage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 941 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
39
40
41
42
43
44
45
46
47
48
[tox]
envlist = py{35,36,37,38}-pandas{023,024,025,latest},flake8,docs
[testenv]
deps=
pytest
codecov
pytest-cov
pandas023: pandas>=0.23,<0.24
pandas024: pandas>=0.24,<0.25
pandas025: pandas>=0.25,<0.26
pandaslatest: pandas
commands=
pip install networkx
pip install -e .
pytest --cov-config .coveragerc --cov=recordlinkage --cov-append --cov-report=xml
[travis:env]
PANDAS =
0.23: pandas023
0.24: pandas024
0.25: pandas025
latest: pandaslatest
[testenv:docs]
changedir = docs
deps =
-rdocs/requirements.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
basepython = python
skip_install = true
deps =
flake8
flake8-docstrings>=0.2.7
flake8-import-order>=0.9
pep8-naming
flake8-colors
commands =
flake8 recordlinkage/ tests/ setup.py
[flake8]
ignore = D,E,F,N,I,W
exclude =
recordlinkage/_version.py