fix pylint command in Makefile
'pylint -j 0' is the same as 'pylint -j $(shell nproc)' but does work with shells without 'nproc' command Change-Id: I1c8c863a4eed5d653477025ada4840c2b0381432 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/23033 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
2
Makefile
2
Makefile
@ -38,7 +38,7 @@ doc:
|
|||||||
$(MAKE) -C doc html
|
$(MAKE) -C doc html
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
pylint -j $(shell nproc) -f colorized -r n --rcfile=.pylintrc secop secop_* test
|
pylint -j 0 -f colorized -r n --rcfile=.pylintrc secop secop_* test
|
||||||
|
|
||||||
isort:
|
isort:
|
||||||
@find test -name '*.py' -print0 | xargs -0 isort -e -m 2 -w 80 -ns __init__.py
|
@find test -name '*.py' -print0 | xargs -0 isort -e -m 2 -w 80 -ns __init__.py
|
||||||
|
Reference in New Issue
Block a user