2 # Copyright 2020 ArctosLabs Scandinavia AB
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
21 install_command = python3 -m pip install -U {opts} {packages}
22 deps = -rrequirements.txt
23 -rtest
-requirements.txt
24 commands = python3 -m unittest discover -v
28 deps = -rrequirements.txt
29 -rtest
-requirements.txt
30 commands = coverage run -m unittest discover
31 coverage report --omit='*site-packages*','*test*','*__init__*'
32 coverage html -d ./.tox/coverage/HTMLreport --omit='*site-packages*','*test*','*__init__*'
33 coverage xml -o ./.tox/coverage/XMLreport/coverage.xml --omit='*site-packages*','*test*','*__init__*'
40 commands = flake8 {toxinidir}/osm_pla/ {toxinidir}/setup.py \
41 --max
-line
-length
120 \
42 --exclude test_mznmodels.py
,.svn
,CVS
,.gz
,.git
,__pycache__
,.tox
,local
,temp
46 # changedir ={toxinidir}
48 setuptools
-version
-command
50 commands = python3 setup.py --command-packages=stdeb.command bdist_deb