From 2a26229f976e9881fa0e1e9e53b652315429e624 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 lint target in the Makefile and make lint target dependant on reuse lint. This way, copyright headers get automatically checked in the pipelines. Signed-off-by: Albert Esteve --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 94f66758a5..acdbf43963 100644 --- a/Makefile.am +++ b/Makefile.am @@ -71,6 +71,10 @@ gitignore: done; \ fi; +.PHONY: reuse +reuse: + reuse lint + .PHONY: pylint pylint: tox tox -e pylint \ @@ -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: