From ffbc3cc0d7bd2e8fe008a467079dc1767d32c20f Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Fri, 12 Apr 2024 10:26:28 -0500 Subject: [PATCH] check REUSE as part of tox Signed-off-by: Brian S. Stephan --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 94ae89a..63e6c39 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ [tox] isolated_build = true -envlist = begin,py39,py310,py311,coverage,bandit,lint +envlist = begin,py39,py310,py311,coverage,bandit,lint,reuse [testenv] allow_externals = pytest, coverage @@ -57,6 +57,11 @@ commands = mypy gp2040ce_bintools - flake8 --disable-noqa --ignore= --select=E,W,F,C,D,A,G,B,I,T,M,DUO +[testenv:reuse] +# check license documentation +commands = + reuse lint + [coverage:paths] source = ./