1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00

python: run flake8 as part of make style

This commit is contained in:
matejcik 2019-11-13 12:10:33 +01:00 committed by matejcik
parent 09962708d3
commit d9c581b95b

View File

@ -58,6 +58,7 @@ style:
black $(STYLE_TARGETS) black $(STYLE_TARGETS)
isort --apply --recursive $(STYLE_TARGETS) --skip-glob "$(EXCLUDE_TARGETS)/*" isort --apply --recursive $(STYLE_TARGETS) --skip-glob "$(EXCLUDE_TARGETS)/*"
autoflake -i --remove-all-unused-imports -r $(STYLE_TARGETS) --exclude "$(EXCLUDE_TARGETS)" autoflake -i --remove-all-unused-imports -r $(STYLE_TARGETS) --exclude "$(EXCLUDE_TARGETS)"
flake8
style_check: style_check:
black --check $(STYLE_TARGETS) black --check $(STYLE_TARGETS)