summaryrefslogtreecommitdiffstats
path: root/tox.ini
blob: b4f3ee53da792bfb650351c328808b09452a5b96 (plain)
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
[tox]
skipsdist=True
envlist = py3,style
setupdir = imagescanner/

[testenv]
distribute = False
commands =
   {envpython} --version
    pytest --version
    coverage run --module pytest imagescanner
    coverage xml
deps =
    flake8
    pytest-cov
    pytest


[testenv:style]
basepython=python3.6
commands =  python --version
            python -m flake8

[testenv:py3]
basepython=python3.6

[flake8]
show-source = True
exclude=venv-tox,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build