From 58a4e46021dd2e441d443e65d260b97c19d49bd5 Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Sat, 2 Nov 2019 12:44:30 -0400 Subject: Add "news" environment to tox Moving to a model where dependencies are provided by `tox` as needed where possible. --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tox.ini b/tox.ini index 3b126f7..b1b7a1b 100644 --- a/tox.ini +++ b/tox.ini @@ -78,6 +78,15 @@ commands = sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_o sphinx-build -d "{toxworkdir}/docs_doctree" docs "{toxworkdir}/docs_out" {posargs:-W --color -blinkcheck} python setup.py check -r -s + +[testenv:news] +description = Invoke towncrier to update the NEWS file +basepython = python3.7 +passenv = * +deps = towncrier +commands = + towncrier {posargs} + [testenv:build] description = Build an sdist and bdist basepython = python3.7 -- cgit v1.2.1