projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Write to DB when creating K8s Proxy Charm
[osm/N2VC.git]
/
tox.ini
diff --git
a/tox.ini
b/tox.ini
index
bd89241
..
bc316e1
100644
(file)
--- a/
tox.ini
+++ b/
tox.ini
@@
-13,7
+13,8
@@
# limitations under the License.
[tox]
# limitations under the License.
[tox]
-envlist = cover, flake8, pylint
+envlist = cover, flake8, pylint, pylint-tests
+skipsdist=True
[testenv]
[testenv]
@@
-36,7
+37,16
@@
deps =
pylint
-rrequirements.txt
commands =
pylint
-rrequirements.txt
commands =
- pylint -E n2vc
+ pylint -E n2vc --ignore=tests
+
+[testenv:pylint-tests]
+basepython = python3
+deps =
+ pylint
+ -rrequirements.txt
+ -rtest-requirements.txt
+commands =
+ pylint -E n2vc.tests
[testenv:black]
basepython = python3
[testenv:black]
basepython = python3
@@
-55,7
+65,7
@@
commands =
[flake8]
# W503 is invalid PEP-8
[flake8]
# W503 is invalid PEP-8
-max-line-length =
88
+max-line-length =
100
show-source = True
ignore = W503,E203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst
show-source = True
ignore = W503,E203
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,devops_stages/*,.rst