2014-10-13 14:08:59 -05:00
|
|
|
[tox]
|
2023-07-16 17:44:53 -05:00
|
|
|
envlist = py37,py38,py39,py310,py311
|
2014-10-13 14:08:59 -05:00
|
|
|
skipsdist = True
|
2016-06-06 09:21:32 -05:00
|
|
|
skip_missing_interpreters = True
|
2014-10-13 14:08:59 -05:00
|
|
|
|
|
|
|
[testenv]
|
2017-09-19 12:14:11 -05:00
|
|
|
setenv =
|
|
|
|
PYTHON="{envpython}"
|
2014-10-13 14:08:59 -05:00
|
|
|
commands =
|
2020-12-28 20:59:01 -06:00
|
|
|
python build.py --modules
|
|
|
|
flake8
|
2021-08-15 04:10:46 -05:00
|
|
|
black --check .
|
2020-12-28 20:59:01 -06:00
|
|
|
{posargs:py.test core hscommon}
|
2014-10-13 14:08:59 -05:00
|
|
|
deps =
|
|
|
|
-r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/requirements-extra.txt
|
|
|
|
|
|
|
|
[flake8]
|
2023-01-09 22:35:12 -06:00
|
|
|
exclude = .tox,env*,build,help,qt/dg_rc.py,pkg
|
2014-10-13 14:08:59 -05:00
|
|
|
max-line-length = 120
|
2021-08-15 03:32:31 -05:00
|
|
|
select = C,E,F,W,B,B950
|
2023-01-09 22:35:12 -06:00
|
|
|
extend-ignore = E203,W503
|