Skip to content

Commit

Permalink
makefile: add reuse lint target
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aesteve-rh committed Sep 2, 2022
1 parent 510c439 commit 2a26229
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ gitignore:
done; \
fi;

.PHONY: reuse
reuse:
reuse lint

.PHONY: pylint
pylint: tox
tox -e pylint \
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2a26229

Please sign in to comment.