2014-10-13 19:08:59 +00:00
|
|
|
[tox]
|
2022-01-25 16:39:52 +00:00
|
|
|
envlist = py36,py37,py38,py39,py310
|
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
|
|
|
setenv =
|
|
|
|
PYTHON="{envpython}"
|
2014-10-13 19:08:59 +00:00
|
|
|
commands =
|
2020-12-29 02:59:01 +00:00
|
|
|
python build.py --modules
|
|
|
|
flake8
|
2021-08-15 09:10:46 +00:00
|
|
|
black --check .
|
2020-12-29 02:59:01 +00:00
|
|
|
{posargs:py.test core hscommon}
|
2014-10-13 19:08:59 +00:00
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/requirements-extra.txt
|
|
|
|
|
|
|
|
[flake8]
|
2020-06-27 06:08:12 +00:00
|
|
|
exclude = .tox,env,build,cocoalib,cocoa,help,./qt/dg_rc.py,cocoa/run_template.py,./pkg
|
2014-10-13 19:08:59 +00:00
|
|
|
max-line-length = 120
|
2021-08-15 08:32:31 +00:00
|
|
|
select = C,E,F,W,B,B950
|
|
|
|
extend-ignore = E203, E501
|