Skip to content

Commit

Permalink
makefile: add reuse lint target
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aesteve-rh committed Sep 12, 2022
1 parent 126ea26 commit 727231d
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 @@ -88,6 +88,10 @@ pylint-diff: tox
flake8: tox
tox -e flake8

.PHONY: reuse
reuse:
reuse lint

.PHONY: black
black: tox
tox -e black
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 727231d

Please sign in to comment.