forked from pytest-dev/pytest-qt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
39 lines (34 loc) · 718 Bytes
/
tox.ini
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
27
28
29
30
31
32
33
34
35
36
37
38
39
[tox]
envlist = py{37,38,39,310}-{pyqt5,pyside2,pyside6,pyqt6}, linting
[testenv]
deps=
pytest
pyside6: pyside6
pyside2: pyside2
pyqt5: pyqt5
pyqt6: pyqt6
commands=
pytest {posargs}
setenv=
pyside6: PYTEST_QT_API=pyside6
pyside2: PYTEST_QT_API=pyside2
pyqt5: PYTEST_QT_API=pyqt5
pyqt6: PYTEST_QT_API=pyqt6
QT_QPA_PLATFORM=offscreen
passenv=
DISPLAY
XAUTHORITY
COLUMNS
[testenv:linting]
skip_install = True
deps = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:docs]
usedevelop = True
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W --keep-going -b html docs docs/_build
[flake8]
max-line-length = 120