2014-10-13 19:08:59 +00:00
|
|
|
[tox]
|
2023-07-16 22:44:53 +00:00
|
|
|
envlist = py37,py38,py39,py310,py311
|
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]
|
2023-01-10 04:35:12 +00:00
|
|
|
exclude = .tox,env*,build,help,qt/dg_rc.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
|
2023-01-10 04:35:12 +00:00
|
|
|
extend-ignore = E203,W503
|