2014-10-13 19:08:59 +00:00
|
|
|
[tox]
|
2019-05-18 17:50:24 +00:00
|
|
|
envlist = py35,py36,py37
|
2014-10-13 19:08:59 +00:00
|
|
|
skipsdist = True
|
2016-06-06 14:21:32 +00:00
|
|
|
skip_missing_interpreters = True
|
2014-10-13 19:08:59 +00:00
|
|
|
|
|
|
|
[testenv]
|
2017-09-19 17:14:11 +00:00
|
|
|
whitelist_externals =
|
|
|
|
make
|
|
|
|
setenv =
|
|
|
|
PYTHON="{envpython}"
|
2014-10-13 19:08:59 +00:00
|
|
|
commands =
|
2017-09-19 17:14:11 +00:00
|
|
|
make modules
|
2014-10-13 19:08:59 +00:00
|
|
|
flake8
|
2016-06-06 14:21:32 +00:00
|
|
|
py.test core hscommon
|
2014-10-13 19:08:59 +00:00
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/requirements-extra.txt
|
|
|
|
|
2019-05-22 15:31:07 +00:00
|
|
|
[testenv:WINDOWS]
|
|
|
|
deps =
|
2019-05-23 14:40:42 +00:00
|
|
|
{[testenv]deps}
|
2019-05-22 15:31:07 +00:00
|
|
|
-r{toxinidir}/requirements-windows.txt
|
|
|
|
|
2014-10-13 19:08:59 +00:00
|
|
|
[flake8]
|
2016-05-29 19:02:39 +00:00
|
|
|
exclude = .tox,env,build,hscommon,qtlib,cocoalib,cocoa,help,./qt/dg_rc.py,qt/run_template.py,cocoa/run_template.py,./run.py,./pkg
|
2014-10-13 19:08:59 +00:00
|
|
|
max-line-length = 120
|
2017-11-16 15:49:03 +00:00
|
|
|
ignore = W391,W293,E302,E261,E226,E227,W291,E262,E303,E265,E731,E305,E741
|
2014-10-13 19:08:59 +00:00
|
|
|
|