mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
build: make sure resources are built for 'make mypy'
This commit is contained in:
parent
04fe99af8e
commit
5d052678a6
1
Makefile
1
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]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user