parameterize linting

This commit is contained in:
Daylin Morgan 2022-08-01 21:34:13 +00:00
parent 28ff4f60e9
commit fe3b13e426

View file

@ -1,6 +1,9 @@
.PHONY: lint .PHONY: lint lint.py lint.sh
lint: lint: lint.py lint.sh
shfmt -s -w $(shell shfmt -f .)
lint.python:
black $(shell find -type f -name "*.py") black $(shell find -type f -name "*.py")
lint.sh:
shfmt -s -w $(shell shfmt -f .)