[PATCH 3 of 3 compound V2] [pkg] Add check-manifest target in tox.ini

Sylvain Thenault sylvain.thenault at logilab.fr
Fri Mar 3 16:35:28 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1488550713 -3600
#      Fri Mar 03 15:18:33 2017 +0100
# Node ID 00475c2cb544580a5d7a62c0d1993b69e98dd8f9
# Parent  dffc9e8cb00c92ad374b0641dba72f0a4d9ac782
[pkg] Add check-manifest target in tox.ini

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
 [tox]
-envlist = py27,flake8
+envlist = py27, flake8, check-manifest
 
 [testenv]
 sitepackages = True
 deps = pytest
 commands = {envpython} -m pytest {posargs:{toxinidir}/test}
@@ -15,5 +15,12 @@ deps =
 commands = flake8 {toxinidir}
 
 [flake8]
 max-line-length = 100
 exclude = .tox
+
+[testenv:check-manifest]
+skip_install = true
+deps =
+  check-manifest
+commands =
+  {envpython} -m check_manifest {toxinidir}


More information about the saem-devel mailing list