[tox:safety] checking CVE in python dependencies
authorjulien tayon <julien.tayon@logilab.fr>
Fri, 12 Apr 2019 15:14:32 +0200
changeset 208 71d812a5b116
parent 207 b934579f848e
child 209 5c997e55e642
[tox:safety] checking CVE in python dependencies
tox.ini
--- a/tox.ini	Fri Apr 12 15:13:33 2019 +0200
+++ b/tox.ini	Fri Apr 12 15:14:32 2019 +0200
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py3,flake8
+envlist = py27,py3,flake8,safety
 
 [testenv]
 deps =
@@ -30,3 +30,9 @@
 [flake8]
 max-line-length = 120
 exclude = cubicweb_keyword/migration/*,.tox/*,
+
+[testenv:safety]
+deps = safety
+commands =
+  {envpython} -msafety check --full-report
+