From cbde9bc64d2b16d1330e7c4ab0536d3ca38b0fb9 Mon Sep 17 00:00:00 2001 From: Shane Jaroch Date: Wed, 7 Jan 2026 16:22:10 -0500 Subject: [PATCH] make format --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 8aea4b5..41ba051 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,19 @@ check/deps: ##H Verify kcov & shellcheck @$(call print_success,Dependencies OK.) + +LINT_LOCS_PY ?= $(shell git ls-files '*.py') +LINT_LOCS_SH ?= + +.PHONY: format +format: ##H Format scripts + @$(call print_target,format) + @$(call print_info,Formatting Python scripts...) + shfmt -i 4 -ci -bn -s -w $(LINT_LOCS_SH) + -black $(LINT_LOCS_PY) + -isort $(LINT_LOCS_PY) + @$(call print_success,OK.) + .PHONY: lint lint: ##H Run shellcheck # lint install script -- 2.52.0