forked from igraph/python-igraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (26 loc) · 907 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py27, py36, py37, py38, py39, pypy, pypy3
[testenv]
commands = python -m unittest
deps =
scipy; platform_python_implementation != "PyPy"
numpy; platform_python_implementation != "PyPy"
networkx; platform_python_implementation != "PyPy"
pandas; platform_python_implementation != "PyPy"
setenv =
TESTING_IN_TOX=1
[testenv:py27]
commands = python -m unittest discover
[testenv:py39]
# py39 support is still sparse; most of the optional dependencies have no
# wheels for Python 3.9 yet so we install only those where they do
deps =
networkx
[flake8]
max-line-length = 80
select = C,E,F,W,B,B950
ignore = W503,E501,E402,E203