-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtox.ini
More file actions
27 lines (24 loc) · 808 Bytes
/
tox.ini
File metadata and controls
27 lines (24 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[tox]
envlist = py3{7,8,9,10}-{windows,linux}
[testenv]
deps =
pip>=20.0
setenv:
linux: OS_MARKER = linux
macos: OS_MARKER = macos
windows: OS_MARKER = windows
QT_DEBUG_PLUGINS = 1
py36: ALLOWLIST = stubtest.allowlist.3.6
!py36: ALLOWLIST = stubtest.allowlist
extras =
dev
commands =
pip install PyQt5==5.15.6 PyQt3D==5.15.5 PyQtChart==5.15.5 PyQtDataVisualization==5.15.5 PyQtNetworkAuth==5.15.5 PyQtPurchasing==5.15.5 PyQtWebEngine==5.15.5
pip freeze --all
mypy --show-error-codes -p PyQt5-stubs
stubtest --allowlist {toxinidir}/{env:ALLOWLIST} --allowlist {toxinidir}/stubtest.allowlist.to_review --allowlist {toxinidir}/stubtest.allowlist.{env:OS_MARKER} PyQt5
pytest --capture=no --verbose {posargs}
[pytest]
addopts = --strict-markers
testpaths = tests
xfail_strict = true