mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
build: update cstyle/cstyle_check targets
This commit is contained in:
parent
4dcd3b5812
commit
c46be39d58
7
Makefile
7
Makefile
@ -81,13 +81,16 @@ style_check: ## run code style check on application sources and tests
|
||||
isort --check-only $(shell find src -name *.py ! -path 'src/trezor/messages/*')
|
||||
black --check $(shell find src -name *.py ! -path 'src/trezor/messages/*')
|
||||
|
||||
style:
|
||||
style: ## apply code style on application sources and tests
|
||||
isort $(shell find src -name *.py ! -path 'src/trezor/messages/*')
|
||||
black $(shell find src -name *.py ! -path 'src/trezor/messages/*')
|
||||
|
||||
cstyle: ## run code style check on low-level C code
|
||||
cstyle_check: ## run code style check on low-level C code
|
||||
./tools/clang-format-check $(shell find embed -type f -name *.[ch])
|
||||
|
||||
cstyle: ## apply code style on low-level C code
|
||||
clang-format -i $(shell find embed -type f -name *.[ch])
|
||||
|
||||
## code generation:
|
||||
|
||||
templates: ## render Mako templates (for lists of coins, tokens, etc.)
|
||||
|
Loading…
Reference in New Issue
Block a user