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

[testenv]
distribute = False
commands =
   {envpython} --version
    pytest --version
    pytest --cov=imagescanner 
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