From 68a260365054483057e24a940826ad5952bff9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Mon, 6 May 2024 15:45:29 +0200 Subject: [PATCH] build: added `make format` target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1b31ba5..e22b03a 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,11 @@ test: typecheck: poetry run mypy aw_notify --ignore-missing-imports +PYFILES=$(shell find . -type f -name '*.py') + +format: + black ${PYFILES} + package: pyinstaller aw-notify.spec --clean --noconfirm