From 93ba0d690bfa231581b5603e24fe472a77c45311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=C3=A9cio=20Santos?= Date: Fri, 24 May 2024 13:35:22 -0400 Subject: [PATCH] Add 'format' and 'lint' targets to the Makefile --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9f265b28..16117c6a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,14 @@ -all: test +SRC := ./bdikit/ -PHONY: test +all: lint test + +PHONY: format test lint + +lint: + black --check ${SRC} test: python3 -m pytest + +format: + black ${SRC}