diff --git a/Makefile b/Makefile index 1278ac4..4bfafc6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: install install-lib phony test +.PHONY: install install-lib phony test typecheck WEECHAT_HOME ?= $(HOME)/.weechat PREFIX ?= $(WEECHAT_HOME) @@ -20,3 +20,6 @@ $(DESTDIR)$(PREFIX)/python/matrix/%.py: matrix/%.py phony test: python3 -m pytest python2 -m pytest + +typecheck: + mypy -p matrix --ignore-missing-imports --warn-redundant-casts