From 4f6394fad34c5489bacb04baaf19cddcde2e8184 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Mon, 26 Jun 2023 19:36:38 +0200
Subject: [PATCH] Makefile: break each check into own rule.

---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f78376f..22f271c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,10 +10,14 @@ OUTPUT_FLAGS = --path-base /code/muppet-strings/output \
 output:
 	python -m muppet  $(OUTPUT_FLAGS)
 
-check:
+check_style:
 	flake8 muppet
+
+check_type:
 	mypy -p muppet
 
+check: check_style check_type
+
 # TODO only require coverage if `python -m pytest -VV | grep pytest-cov` return true
 PYTEST_FLAGS = --cov=muppet --cov-branch --cov-report=html
 
-- 
GitLab