forked from pbrod/numdifftools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (39 loc) · 829 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
# Tox configuration file
# Read more under https://tox.readthedocs.org/
# THIS SCRIPT IS SUPPOSED TO BE AN EXAMPLE. MODIFY IT ACCORDING TO YOUR NEEDS!
#,py33,py34,flake8
[tox]
minversion = 1.8
envlist = py27
skip_missing_interpreters = True
[testenv]
setenv =
DISPLAY = :0
sitepackages = True
changedir = -r{toxinidir}/numdifftools/tests
commands =
py.test {posargs}
deps =
pytest
-r{toxinidir}/requirements.txt
[testenv:flake8]
changedir = {toxinidir}
deps = flake8
commands = flake8 setup.py numdifftools tests
# Options for flake8
#[flake8]
#exclude = numdifftools/_version.py
# Options for pytest
[pytest]
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
addopts =
-rsxXf
--doctest-modules
norecursedirs =
.*
_build
docs
tmp*
pep8ignore =
tests/*.py ALL
info.py ALL