summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2023-02-05 13:29:44 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2023-02-05 13:29:44 +0000
commit4d727570a469f40d124038e4c3f2b05c9185c637 (patch)
treea042e59ad0cf9cf3b1542e7ae87a92a1ebce8b7b /Makefile
parent0aecd26331741bb149bca9eefedad4a33a3f3ff1 (diff)
downloadblog-4d727570a469f40d124038e4c3f2b05c9185c637.tar.gz
blog-4d727570a469f40d124038e4c3f2b05c9185c637.tar.bz2
blog-4d727570a469f40d124038e4c3f2b05c9185c637.zip
Add type annotation support with mypy
Default target in Makefile check types now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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