mark anki and aqt modules as having typing info

This means once they're installed via develop or a wheel, add-ons
will be able to more easily typecheck their code against the Anki
code.
This commit is contained in:
Damien Elmes 2020-01-13 07:25:23 +10:00
parent 9bb0348fdd
commit b42912e639
3 changed files with 1 additions and 1 deletions

0
pylib/anki/py.typed Normal file
View file

View file

@ -70,7 +70,7 @@ PYLIB := ../pylib
CHECKDEPS := $(shell find aqt tests -name '*.py' | grep -v buildinfo.py)
.build/mypy: $(CHECKDEPS) .build/qt-stubs
MYPYPATH=$(PYLIB) mypy aqt
mypy aqt
@touch $@
.build/test: $(CHECKDEPS)

0
qt/aqt/py.typed Normal file
View file