parameterize linting
This commit is contained in:
parent
28ff4f60e9
commit
fe3b13e426
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
@ -1,6 +1,9 @@
|
|||
.PHONY: lint
|
||||
.PHONY: lint lint.py lint.sh
|
||||
|
||||
lint:
|
||||
shfmt -s -w $(shell shfmt -f .)
|
||||
lint: lint.py lint.sh
|
||||
|
||||
lint.python:
|
||||
black $(shell find -type f -name "*.py")
|
||||
lint.sh:
|
||||
shfmt -s -w $(shell shfmt -f .)
|
||||
|
||||
|
|
Loading…
Reference in a new issue