From 5d052678a66b77732cf8b6cc3ee5de639a89ace4 Mon Sep 17 00:00:00 2001 From: matejcik Date: Tue, 28 Jan 2020 16:42:24 +0100 Subject: [PATCH] build: make sure resources are built for 'make mypy' --- Makefile | 1 + core/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd06771e4..bcadd3743 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ pystyle_check: ## run code style check on application sources and tests flake8 --version isort --version | awk '/VERSION/{print $$2}' black --version + mypy --version @echo [MYPY] @make -C core mypy @echo [FLAKE8] diff --git a/core/Makefile b/core/Makefile index 84b9cf7d6..2c0bf0dd0 100644 --- a/core/Makefile +++ b/core/Makefile @@ -101,7 +101,7 @@ test_emu_ui_record: ## record and hash screens for ui integration tests pylint: ## run pylint on application sources and tests pylint -E $(shell find src tests -name *.py) -mypy: +mypy: res mypy --config-file ../setup.cfg \ src/main.py