mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
python: run flake8 as part of make style
This commit is contained in:
parent
09962708d3
commit
d9c581b95b
@ -58,6 +58,7 @@ style:
|
||||
black $(STYLE_TARGETS)
|
||||
isort --apply --recursive $(STYLE_TARGETS) --skip-glob "$(EXCLUDE_TARGETS)/*"
|
||||
autoflake -i --remove-all-unused-imports -r $(STYLE_TARGETS) --exclude "$(EXCLUDE_TARGETS)"
|
||||
flake8
|
||||
|
||||
style_check:
|
||||
black --check $(STYLE_TARGETS)
|
||||
|
Loading…
Reference in New Issue
Block a user