2014-10-13 19:08:59 +00:00
|
|
|
[tox]
|
2020-05-30 13:33:35 +00:00
|
|
|
envlist = style,py36,py37,py38
|
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
|
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
|
|
|
|
|
2020-05-30 13:33:35 +00:00
|
|
|
[testenv:style]
|
|
|
|
commands =
|
|
|
|
flake8
|
|
|
|
|
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
|
2020-05-30 13:34:03 +00:00
|
|
|
commands =
|
|
|
|
python build.py
|
|
|
|
python package.py
|
2019-05-22 15:31:07 +00:00
|
|
|
|
2014-10-13 19:08:59 +00:00
|
|
|
[flake8]
|
2020-01-01 02:16:27 +00:00
|
|
|
exclude = .tox,env,build,hscommon/tests,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
|
2020-01-01 02:16:27 +00:00
|
|
|
ignore = E731,E203,E501,W503
|
2014-10-13 19:08:59 +00:00
|
|
|
|