1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

build: add help to make style/style_check

This commit is contained in:
Pavol Rusnak 2019-08-29 12:46:06 +02:00
parent dbef93a30d
commit 7f443778f1
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -9,9 +9,9 @@ PY_FILES = $(shell find . -type f -name '*.py' | grep -f ./tools/style.py.incl
C_FILES = $(shell find . -type f -name '*.[ch]' | grep -f ./tools/style.c.include | grep -v -f ./tools/style.c.exclude )
style_check: pystyle_check cstyle_check
style_check: pystyle_check cstyle_check ## run all style checks (C+Py)
style: pystyle cstyle
style: pystyle cstyle ## apply all code styles (C+Py)
pystyle_check: ## run code style check on application sources and tests
flake8 --version