forked from PyMoDAQ/PyMoDAQ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (40 loc) · 868 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
49
50
51
52
53
# tox (https://tox.readthedocs.io/) 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]
requires =
tox-conda
tox-venv
tox-travis
envlist =
py37
py38
flake8
[travis]
os =
linux: py{36,37,38}, docs
windows: py{38}
python =
3.6: py36
3.7: py37
3.8: py38, flake8
[testenv]
deps =
pytest
pytest-qt
pytest-mock
pytest-cov
h5py
commands =
pytest --cov=pymodaq --cov-report=xml tests/
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands =
flake8 src/pymodaq
[flake8]
exclude = .git, __pycache__, build, dist, pymodaq/ressources/QtDesigner_Ressources, documentation
ignore = E501, F401, F841, F811, F403