diff --git a/pylib/Makefile b/pylib/Makefile index 520edf70e..73b0e165e 100644 --- a/pylib/Makefile +++ b/pylib/Makefile @@ -47,7 +47,7 @@ clean: # Checking python ###################### -CHECKDEPS := $(shell find anki tests -name '*.py') +CHECKDEPS := $(shell find anki tests -name '*.py' | grep -v buildinfo.py) .build/mypy: $(CHECKDEPS) mypy anki diff --git a/qt/Makefile b/qt/Makefile index 85ad2c028..1643ed53b 100644 --- a/qt/Makefile +++ b/qt/Makefile @@ -67,7 +67,7 @@ JSDEPS := $(patsubst ts/src/%.ts, web/%.js, $(TSDEPS)) PYLIB := ../pylib -CHECKDEPS := $(shell find aqt tests -name '*.py') +CHECKDEPS := $(shell find aqt tests -name '*.py' | grep -v buildinfo.py) .build/mypy: $(CHECKDEPS) .build/qt-stubs MYPYPATH=$(PYLIB) mypy aqt