Makefile: Add typecheck target.
This commit is contained in:
parent
eab12eed08
commit
096372030d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
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
|
||||
|
|
Loading…
Add table
Reference in a new issue