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:
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 .)