File: tox.ini

package info (click to toggle)
pystaticconfiguration 0.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 400 kB
  • sloc: python: 2,569; makefile: 7
file content (41 lines) | stat: -rw-r--r-- 670 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
41
[tox]
envlist = py36,py37,py38,pypy3,docs,coverage

[testenv]
deps =
    pyyaml
    pytest
    mock <= 1.0.1
    flake8
    typing-extensions
commands =
    py.test {posargs:tests}
    flake8 staticconf tests testing

[testenv:docs]
deps =
    {[testenv]deps}
    sphinx >= 1.0
    sphinx_rtd_theme
changedir = docs
commands =
    sphinx-build -b html -d build/doctrees source build/html


[testenv:coverage]
deps =
    {[testenv]deps}
    coverage
commands =
    coverage run --source=staticconf {envbindir}/py.test tests


[testenv:mypy]
basepython = python3.7
deps =
    mypy
    typing-extensions
    types-PyYAML
    types-simplejson
commands =
    mypy staticconf