X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tox.ini;h=a4217bb8b4513905df261bbcd1a2c190b9aff8b4;hb=125564bb4377889534258782e5a9bcb5fb6d0896;hp=882140fdb4e256a9db239122ff154e2dc1ffa537;hpb=cc21b8b08b6dbcec577bfb26ff397ac899da8002;p=vvp%2Fvalidation-scripts.git diff --git a/tox.ini b/tox.ini index 882140f..a4217bb 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ # =================================================================== # # Unless otherwise specified, all software contained herein is licensed -# under the Apache License, Version 2.0 (the “License”); +# under the Apache License, Version 2.0 (the "License"); # you may not use this software except in compliance with the License. # You may obtain a copy of the License at # @@ -21,7 +21,7 @@ # # # Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +# under the Creative Commons License, Attribution 4.0 Intl. (the "License"); # you may not use this documentation except in compliance with the License. # You may obtain a copy of the License at # @@ -35,29 +35,27 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # [tox] skipsdist=True -envlist = py27,py3,style +envlist = py36 [testenv] distribute = False commands = {envpython} --version pytest --version - coverage run --module pytest ice_validator --self-test -rxXs - coverage report -deps = -rrequirements.txt - flake8 - coverage + coverage run --module pytest ice_validator/tests --self-test -rxXs + coverage xml + flake8 --version + flake8 ice_validator +deps = --no-use-pep517 + -rrequirements.txt + flake8==3.6.0 + coverage==4.5.1 -[testenv:style] -commands = flake8 ice_validator -[testenv:py27] -basepython=python2.7 - -[testenv:py3] -basepython=python3.6 +[flake8] +ignore = W391, W503, E501 +max-line-length = 88