include isort target in Makefile

Change-Id: Idde0d66c617a38497ad2082a48a1c1d5c3ce9daa
Reviewed-on: https://forge.frm2.tum.de/review/20217
Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
Enrico Faulhaber 2019-03-25 10:26:23 +01:00
parent a230e553a9
commit de188983ba

View File

@ -40,6 +40,11 @@ doc:
lint:
pylint -j $(shell nproc) -f colorized -r n --rcfile=.pylintrc secop secop_* test
isort:
@find test -name '*.py' -print0 | xargs -0 isort -e -m 2 -w 80 -ns __init__.py
@find secop -name '*.py' -print0 | xargs -0 isort -e -m 2 -w 80 -ns __init__.py
@find . -wholename './secop_*.py' -print0 | xargs -0 isort -e -m 2 -w 80 -ns __init__.py
release-patch:
MODE="patch" $(MAKE) release