aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-06-26 19:36:38 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-06-26 19:36:38 +0200
commit4f6394fad34c5489bacb04baaf19cddcde2e8184 (patch)
tree9f867a4350639321936313e232401c410e8388c2
parentUpstream markdown files now rendered within template. (diff)
downloadmuppet-strings-4f6394fad34c5489bacb04baaf19cddcde2e8184.tar.gz
muppet-strings-4f6394fad34c5489bacb04baaf19cddcde2e8184.tar.xz
Makefile: break each check into own rule.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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