summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 62fac4f..d75dc2a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,12 @@ CODE := $(shell find blog -name '*.py' 2> /dev/null)
.PHONY: clean server format
-remote: $(TEMPLATES) $(SHARE) $(POSTS) $(CODE)
- mypy --strict blog
+remote: $(TEMPLATES) $(SHARE) $(POSTS) $(CODE) typecheck
python3 blog/blog.py
+typecheck: $(CODE)
+ mypy --strict blog
+
format: $(CODE)
pycodestyle $(CODE)