File: tox.ini

package info (click to toggle)
python-wsgi-intercept 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 560 kB
  • sloc: python: 1,390; makefile: 57; sh: 5
file content (33 lines) | stat: -rw-r--r-- 712 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
[tox]
minversion = 1.6
skipsdist = True
envlist = py37,py38,py39,py310,py311,py312,pypy,pep8,docs,readme

[testenv]
deps = .[testing]
commands = py.test --tb=short wsgi_intercept/tests {posargs}
passenv = WSGI_INTERCEPT_*

[testenv:pep8]
deps = flake8
commands =
    flake8 wsgi_intercept

[testenv:docs]
deps = .[docs]
       httplib2
       sphinx
commands =
    rm -rf build/sphinx
    sphinx-build docs build/sphinx
allowlist_externals =
    rm

[testenv:readme]
deps = .
allowlist_externals = bash
commands = bash -c "python -c 'import sys, wsgi_intercept; sys.stdout.write(wsgi_intercept.__doc__)' > README.rst"

[flake8]
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
show-source = True