mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
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:
parent
9bb0348fdd
commit
b42912e639
3 changed files with 1 additions and 1 deletions
0
pylib/anki/py.typed
Normal file
0
pylib/anki/py.typed
Normal 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
0
qt/aqt/py.typed
Normal file
Loading…
Reference in a new issue