From fe3b13e4262b3612eb4f35cf599ad63f2b07c880 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 1 Aug 2022 21:34:13 +0000 Subject: [PATCH] parameterize linting --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9535726..591e38b 100644 --- a/Makefile +++ b/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 .)