File: tox.ini

package info (click to toggle)
python-pytest-flake8 1.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180 kB
  • sloc: python: 389; sh: 5; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 432 bytes parent folder | download
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=py310-pytesttrunk,py310-xdist,py37,py38,py39,py310,pypy3

[testenv]
deps=pytest
commands= 
    pytest --junitxml={envlogdir}/junit-{envname}.xml {posargs}

[testenv:py310-pytesttrunk]
pip_pre=true
deps=pytest

[testenv:py310-xdist]
deps={[testenv]deps}
     pytest-xdist
commands=
    pytest -n3 --junitxml={envlogdir}/junit-{envname}.xml {posargs}

[pytest]
addopts=--flake8
junit_family=xunit1

[flake8]
ignore=E128