From 4d727570a469f40d124038e4c3f2b05c9185c637 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 5 Feb 2023 13:29:44 +0000 Subject: Add type annotation support with mypy Default target in Makefile check types now. --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 25e9199..fda9128 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ CODE := $(shell find blog -name '*.py' 2> /dev/null) .PHONY: clean server remote: $(TEMPLATES) $(SHARE) $(POSTS) $(CODE) + mypy --strict blog python3 blog/blog.py server: remote -- cgit v1.2.3-70-g09d2