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