File: tox.ini

package info (click to toggle)
pytest-twisted 1.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 192 kB
  • sloc: python: 1,241; sh: 10; makefile: 4
file content (35 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (2)
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
[tox]
envlist=
    py{27,py2,35,36,37,38,py3}-defaultreactor
    py{35,36,37,38,py3}-asyncioreactor
    py{35,36,37,38}-pyqt5reactor
    py{35,36,37,38}-pyside2reactor
    linting

[testenv]
deps=
    greenlet
    pytest
    twisted
    pyqt5reactor,pyside2reactor: pytest-qt
    pyqt5reactor,pyside2reactor: pytest-xvfb
    pyqt5reactor,pyside2reactor: pywin32; sys_platform == 'win32'
extras=
    pyqt5reactor: pyqt5
    pyside2reactor: pyside2
setenv=
    defaultreactor: REACTOR = default
    pyqt5reactor: REACTOR = qt5reactor
    pyside2reactor: REACTOR = qt5reactor
    asyncioreactor: REACTOR = asyncio
commands=
    pytest --reactor={env:REACTOR}
sitepackages=False
download=true

[testenv:linting]
deps=flake8
commands=flake8 setup.py pytest_twisted.py testing

[flake8]
ignore=N802