From 2d0fe0c396dbbf54f038a04ba38a3af05e88ce22 Mon Sep 17 00:00:00 2001 From: Albert Esteve Date: Fri, 2 Sep 2022 10:56:47 +0200 Subject: [PATCH] makefile: add reuse lint target Add reuse target to run reuse lint, which allows the pipelines to check the SPDX copyright headers and ensure that the project is reuse-compliant. Signed-off-by: Albert Esteve --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d63a8b0b71..8a080238c2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,6 +88,10 @@ pylint-diff: tox flake8: tox tox -e flake8 +.PHONY: reuse +reuse: + reuse lint + .PHONY: black black: tox tox -e black @@ -122,7 +126,7 @@ check-unit: $(MAKE) -C tests/ check NOSE_EVAL_ATTR="type=='unit'" .PHONY: lint -lint: gitignore execcmd black flake8 pylint +lint: gitignore reuse execcmd black flake8 pylint .PHONY: venv venv: