File: tox.ini

package info (click to toggle)
python-uritools 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 264 kB
  • sloc: python: 1,470; makefile: 134
file content (40 lines) | stat: -rw-r--r-- 809 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[tox]
envlist = check-manifest,docs,doctest,flake8,py

[testenv]
deps =
    coverage
    pytest
    pytest-cov
commands =
    py.test --basetemp={envtmpdir} --cov=uritools {posargs}

[testenv:check-manifest]
deps =
    check-manifest==0.44; python_version < "3.8"
    check-manifest; python_version >= "3.8"
commands =
    check-manifest
skip_install = true

[testenv:docs]
deps =
     sphinx
commands =
     sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html

[testenv:doctest]
deps =
     sphinx
commands =
     sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs {envtmpdir}/doctest

[testenv:flake8]
deps =
    flake8
    flake8-black; python_version >= "3.6" and implementation_name == "cpython"
    flake8-bugbear
    flake8-import-order
commands =
    flake8
skip_install = true