Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Sonarfix:Reduce coginitive complexity vmtype util
[vvp/validation-scripts.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
ad75354
..
8bbf1fc
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-35,34
+35,34
@@
#
# ============LICENSE_END============================================
#
#
# ============LICENSE_END============================================
#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
[tox]
skipsdist=True
#
[tox]
skipsdist=True
-envlist = py
27,py3,style
+envlist = py
36
[testenv]
[testenv]
+whitelist_externals =
+ install_win_deps.py
+passenv =
+ http_proxy
+ https_proxy
distribute = False
commands =
distribute = False
commands =
- {envpython} --version
+ python install_win_deps.py
+ pip install -r requirements.txt
+ {envpython} --version
pytest --version
coverage run --module pytest ice_validator/tests --self-test -rxXs
coverage xml
pytest --version
coverage run --module pytest ice_validator/tests --self-test -rxXs
coverage xml
-deps = -rrequirements.txt
+ flake8 --version
+ flake8 ice_validator
+ bandit -c bandit.yaml -r . -x ./.tox/**,./venv-tox/**
+deps = --no-use-pep517
flake8
coverage
flake8
coverage
- pytest
-
-[testenv:style]
-commands = flake8 ice_validator
-
-[testenv:py27]
-basepython=python2.7
-
-[testenv:py3]
-basepython=python3.6
+ bandit
[flake8]
[flake8]
-ignore = W391, W503
+ignore = W391, W503
, E501
max-line-length = 88
max-line-length = 88