forked from LxMLS/lxmls-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (35 loc) · 715 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
[flake8]
ignore = E265,E501
max-line-length = 100
max-complexity = 10
[pytest]
addopts = -rxEfsw --strict
filterwarnings =
error
ignore::UserWarning
ignore::RuntimeWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
[tox]
envlist =
; py{27,35,36}-{linux,osx,windows}
; py36-{linux,osx,windows}
py36
[testenv]
platform = linux: linux
osx: darwin
windows: win32
; simplify numpy installation
setenv =
LAPACK=
ATLAS=None
PYTHONWARNINGS=ignore
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=en_US.UTF-8
usedevelop = True
deps =
pytest
pytest-xdist
-rrequirements.txt
commands = pytest -n 2 {posargs:tests}