From 008c0c823080b10aafc392f0c16a0f98f946b968 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 21 Sep 2024 14:58:09 -0700 Subject: [PATCH] Add `make lint` --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 90dadb8..cafa6a3 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,10 @@ help: ## display this help @awk 'BEGIN{FS = ":.*##"; printf "\033[1m\nUsage\n \033[1;92m make\033[0;36m \033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST) +lint: ## run linters + nix fmt + black **/*.py + test: ## run pytest python -m pytest