From 88d315ae9adab430bd36722da8c6ab74c2e79cf0 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 13 Sep 2017 04:24:11 -0400 Subject: [PATCH] Check the docs during tests --- setup.py | 1 + tox.ini | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 72d901c..75f2371 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ params = dict( 'testing': [ 'pytest>=2.8', 'pytest-sugar', + 'collective.checkdocs', ], 'docs': [ 'sphinx', diff --git a/tox.ini b/tox.ini index 1ae06ef..16bf78a 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,8 @@ minversion = 2.4 [testenv] -commands = py.test {posargs} +commands = + py.test {posargs} + python setup.py checkdocs usedevelop = True extras = testing