blob: b4c250bee45ceaf5522557f1a9c1fb623462e44b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[tox]
envlist = py36,py37,py38,py39,py310,{py36,py37,py38,py39,py310}-{flake8,mypy}
skipsdist=True
skip_missing_interpreters=False
[testenv]
deps =
!flake8-!mypy: -r{toxinidir}/requirements_pytest.txt
!flake8-!mypy: -r{toxinidir}/requirements_tests.txt
flake8: -r{toxinidir}/requirements_flake8.txt
mypy: -r{toxinidir}/requirements_mypy.txt
changedir =
mypy: {toxinidir}/..
commands =
!flake8-!mypy: pytest --cov=tools --cov-report=term {posargs}
flake8: flake8 --append-config={toxinidir}/flake8.ini {posargs}
mypy: mypy --config-file={toxinidir}/mypy.ini tools/
passenv =
HYPOTHESIS_PROFILE
PY_COLORS
TASKCLUSTER_ROOT_URL
|