mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-04 23:39:02 +00:00
f56bef67e1
Python 3.6 support was already dropped in commit b9dfeac2
("Drop Python
3.6 Support"). Don't attempt to run tests with it if it is installed.
Python 3.11 is currently supported, so add it to the list.
23 lines
458 B
INI
23 lines
458 B
INI
[tox]
|
|
envlist = py37,py38,py39,py310,py311
|
|
skipsdist = True
|
|
skip_missing_interpreters = True
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHON="{envpython}"
|
|
commands =
|
|
python build.py --modules
|
|
flake8
|
|
black --check .
|
|
{posargs:py.test core hscommon}
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/requirements-extra.txt
|
|
|
|
[flake8]
|
|
exclude = .tox,env*,build,help,qt/dg_rc.py,pkg
|
|
max-line-length = 120
|
|
select = C,E,F,W,B,B950
|
|
extend-ignore = E203,W503
|