From 844e90fc80a6da8dfbd1e2d99620e34a88b98944 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 6 Jan 2020 19:30:54 +1000 Subject: [PATCH] don't need to rerun checks each time buildhash changes --- pylib/Makefile | 2 +- qt/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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